Re: PHP Coding HELP
| From: | Per Lundkvist | Date: | Fri, 22 Nov 2002 16:19:09 +0000 |
| Subject: | Re: PHP Coding HELP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125625@lists.php.net to get a copy of this message | ||
Ok, make a form for upload with maybe fields as well where the user can
write how many time that file is supposed to be downloaded.
After submit you store that information in a database (MySQL) and when
downloading files you do it through another PHP-file where you can check how
many times it has been downloaded, if it reach the amount, delete it,
otherwise update the database with one more download for this file!
How to upload files can be read in the PHP-Manual.
For database use: www.mysql.com
Per L.
"Vicky" <vprince@btinternet.com> wrote in message
news:016801c2922c$71472720$0200a8c0@omnibook...
> Thank you very much for everyone's help ^_^
>
> I'm very much a novice in PHP, so whether I can actually figure out what I
> have to do'll be another thing *L*
>
> Thanks again ^_^
>
> -Vicky
>
> -----Original Message-----
> From: Vicky [mailto:vprince@btinternet.com]
> Sent: Friday, November 22, 2002 9:56 AM
> To: php-general@lists.php.net
> Subject: [PHP] PHP Coding HELP
>
> Hello!
>
> I am looking to find or code a script that does the following. If anyone
> could help I'd be extremely greatful.
>
> Users can upload their files, but the files they upload can only be
> downloaded X amount of times. After they've been downloaded so many
> times in
> an ideal world they'd be automatically removed, though just to be made
> so
> people couldn't download them anymore would be great.
>
> Please help! Thanks!
>
> Vicky
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>