[Javascript] Resizing images client-side

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


> PHP can do this as well, but this is data in the request, on the  
> server
> side, ie, after the data has gone over the wire.

Correct, only after. This is why you would need to use to use PERL,  
or ASP as they can stop it before it gets there. Once they read the  
headers they can determine if they want to get the rest.

Terry




> By that time, it's too late, either the file was too big, or it  
> took too
> long and the user got sick of waiting.
>
> Learn Java, write a desktop app.
>
> -----Original Message-----
> From: javascript-bounces at LaTech.edu
> [mailto:javascript-bounces at LaTech.edu] On Behalf Of Glenn E.  
> Lanier, II
> Sent: Friday, July 13, 2007 3:33 PM
> To: '[JavaScript List]'
> Subject: RE: [Javascript] Resizing images client-side
>
>
> I think you can look in the POST/GET headers to see the size of the  
> data
> envelope in most languages. I know C++ based ISAPI allows you to  
> access
> this information before receiving the entire POSTed info (GET has size
> limits, so does not apply here). I would assume ASP.NET provides  
> access
> to similar; don't know about PHP but it may "protect" the developer  
> from
> seeing all the particulars.
>
> --G
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list