----- Original Message -----
From: "Stut" <stuttle@xxxxxxxxx>
To: "Gustav Wiberg" <gustav@xxxxxxxxxxxxxx>
Cc: "PHP General" <php-general@xxxxxxxxxxxxx>
Sent: Monday, May 15, 2006 10:32 PM
Subject: Re: Check before uploading
Gustav Wiberg wrote:
From: "Stut" <stuttle@xxxxxxxxx>
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php