ok, here are a few questions for you to clarify things. A) Do you want to place a limit on the size of a single file being uploaded? B) Do you want to place a restriction that says after n'th number of files that have been uploaded equal 'X' ammount of space on the server disable file uploads? (this is what it sounds like you are asking, to me anyways)
Answer these two questions and it will help me alot Jim Lucas ----- Original Message ----- From: "Christoph Starkmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 8:34 AM Subject: [PHP] Secure File Upload > Hi There! > > When uploading a file with PHP, AFAIK I can only control what will be stored > on the server. So if someone sends me 100 MB, these will be deleted > immediately. But, unfortunately, the traffic is produced nevertheless. Is > there any way to check the file size before uploading the file or any other > way to keep the traffic under a certain limit? Last think I would like to > have is a script that disables all uploads after a certain traffic has been > produced, I would like to be able to really PREVENT uploads, let's say > bigger than 10 MB?! > > Cheers, > > Kiko > > -- > It's not a bug, it's a feature. > christoph starkmann > mailto:[EMAIL PROTECTED] > http://www.gruppe-69.com/ > ICQ: 100601600 > -- > > -- > 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