Re: Check before uploading

From: Date: Mon, 15 May 2006 22:24:17 +0000
Subject: Re: Check before uploading
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-236227@lists.php.net to get a copy of this message
----- Original Message ----- From: "Stut" <stuttle@gmail.com> To: "Gustav Wiberg" <gustav@varupiraten.se> Cc: "PHP General" <php-general@lists.php.net> Sent: Monday, May 15, 2006 10:32 PM Subject: Re: [PHP] Check before uploading
Gustav Wiberg wrote:
From: "Stut" <stuttle@gmail.com>
Gustav Wiberg wrote:
Just a thought. Someone posted a question if you could check filesize before uploading some days ago. Maybe this is possible with Javascript? Javascript wouldn't be the best solution, cause of it's incompability between browsers, that users can inactivate it. But it's might be better than nothing.. The important thing is not to RELY on the Javascript-code.
This was suggested at the time, but for what should be obvious reasons it's not possible due to security restrictions.
Ok, do you have a solution the problem now?
It wasn't my problem, and not I don't really have the solution. There really isn't a solution short of using a Java applet. PHP doesn't get a look in until the file has been uploaded, and Javascript doesn't have the security scruples. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Ok!
Best regards /Gustav Wiberg

« previous php.general (#236227) next »