So something like my below function isn't going to work because the file HAS
to be uploaded temporarily for it to fopen? The ONLY possible way to check
it is with javascript then? Anyone know where I could find some code to do
that?
$maxbytes=500;
function ImageSizeCheck($img,$maxbytes,&$arewe
On Tuesday 18 February 2003 10:44, Nate wrote:
> It sounds like browser would first examine the file before it gets
> uploaded, however, if I try to upload a 1mb file it takes noticably longer
> to produce an error than say a 501 byte file.
Some browsers do:
http://marc.theaimsgroup.com/?l=php-g
On Mon, 2003-02-17 at 21:44, Nate wrote:
> Does this mean the file was examined by the browser and it determined it was
> too large OR does it have to upload the file temporarily and then check to
> see if its too large?
>
> It sounds like browser would first examine the file before it gets upload
Hi guys,
I'm curious about a couple things
regarding: $_FILES['userfile']['error']
(On page: http://www.php.net/manual/tw/features.file-upload.errors.php )
and also
The manual says "Since PHP 4.2.0, PHP returns an appropriate error code
along with the file array. The error code can be found i
4 matches
Mail list logo