Re: [PHP] file-upload.errors

2003-02-17 Thread Nate
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

Re: [PHP] file-upload.errors

2003-02-17 Thread Jason Wong
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

Re: [PHP] file-upload.errors

2003-02-17 Thread Marco Tabini
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