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
"Vicky" <[EMAIL PROTECTED]> wrote in message
> 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 ^_^
> -----Original Message-----
> From: Vicky [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP Coding HELP
> 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
> people couldn't download them anymore would be great.
> Please help! Thanks!
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php