>From my various readings I figured that there is no reliable way to
check file size before upload begins via a POST method. Browser side
checking can be fooled.
I also figured that file size is checked only after the upload
finishes.
This can be dangerous since a large file upload can take server disk
space down.
(atleast for a while - until the php script detects it and deletes the
file)
The server *MUST* stop receiving a file immediately, if file size grows
beyond a specified size.
How is this achieved ?
Mike
check file size before upload begins via a POST method. Browser side
checking can be fooled.
I also figured that file size is checked only after the upload
finishes.
This can be dangerous since a large file upload can take server disk
space down.
(atleast for a while - until the php script detects it and deletes the
file)
The server *MUST* stop receiving a file immediately, if file size grows
beyond a specified size.
How is this achieved ?
Mike
Comment