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
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
----- 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
> 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
> 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
> produced, I would like to be able to really PREVENT uploads, let's say
> bigger than 10 MB?!
> It's not a bug, it's a feature.
> christoph starkmann
> mailto:[EMAIL PROTECTED]
> 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