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" <[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 ^_^
> -Vicky
> -----Original Message-----
> From: Vicky [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 9:56 AM
> 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

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to