Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Re: Uploading and finding size.

by rob_au (Abbot)
on Jun 16, 2002 at 07:55 UTC ( #174904=note: print w/replies, xml ) Need Help??

in reply to Re: Uploading and finding size.
in thread Uploading and finding size.

I agree, it sounds like Anonymous Monk is looking for a solution that would best encompass both client-side and server-side routines - However, for basic upload size determination, the CONTENT_LENGTH environment variable can be used to find the size of the POST component of the multi-part request - This approach has merit where the server-side application may need to manipulate the uploaded file via a process where there are subsequent limits on file size. It should also be noted to that this is the same way by which imposes POST size restrictions as set by the $CGI::POST_MAX variable.

An example as to how one can make use of the CONTENT_LENGTH environment variable to impose custom handling of over-size multi-part requests can be found here.


Replies are listed 'Best First'.
Re: Re: Re: Uploading and finding size.
by Anonymous Monk on Jun 16, 2002 at 12:00 UTC
    worked, great, Thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://174904]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-01-17 21:22 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (206 votes). Check out past polls.