On Friday 14 November 2003 12:48 pm, joe wrote:
is there a way to check the file size without fully uploading the file?
No there isnt, well at least not via php...
correct. There are two solutions you can upload with a java applet, the applet can be configured to lock the upload at a predefined limit. Would save you a lot of bandwidth. The second is to upload via perl script, which can check the Content-length header *before* processing the file upload and block it. In fact megaupload - the php upload progress bar that i did some time ago has this feature.
sorry about the belated reply message had been stuck in a que..
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php