[Javascript] Resizing images client-side

Terry Riegel riegel at clearimageonline.com
Mon Jul 16 13:10:57 CDT 2007


> what mystical process

There is none. But the server can read the file size. The browser  
sends this information "upfront". So the server can reject it if it  
is to large.

Terry


On Jul 13, 2007, at 3:49 PM, Hassan Schroeder wrote:

> Terry Riegel wrote:
>
>> PHP only knows about the files after they are uploaded. This is  
>> why upload scripts are usually either ASP or PERL.
>
> ? And through what mystical process would a program written in *any*
> language running on a remote server peek into the file system of the
> user's machine and determine the file size *before* it's uploaded? :-)
>
> -- 
> Hassan Schroeder ----------------------------- hassan at webtuitive.com
> Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
>
>                            dream.  code.
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list