Re: Secure File Upload

From: Date: Wed, 05 Jun 2002 17:06:51 +0000
Subject: Re: Secure File Upload
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100736@lists.php.net to get a copy of this message
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" <kiko@nfq.de> To: <php-general@lists.php.net> 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:kiko@nfq.de > http://www.gruppe-69.com/ > ICQ: 100601600 > -- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#100736) next »