Re: uploading file

From: Date: Wed, 13 Apr 2005 16:36:46 +0000
Subject: Re: uploading file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213021@lists.php.net to get a copy of this message
Hello Marc, Wednesday, April 13, 2005, 3:08:06 PM, you wrote: ms> Hi, i want to create a form to upload a file on a server. My ms> problem is that i want to check the filesize before sending it ms> because if the filesize is superior than 2 MB it failed and i ms> don't want to wait for a long time for uploading a file that will ms> fail. This isn't possible with PHP alone. You could do it by using some kind of client-side uploader (Java applet, maybe a JavaScript post-back, etc), but not PHP by itself. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I do not fear computers. I fear the lack of them." - Isaac Asimov

« previous php.general (#213021) next »