[snip] i am making a form to upload files to server i know i can detect the file size after being uploaded, but i do want to detect the file after it is being uploaded to the server. is there anyway i can do this ? [/snip] You can detect file size on the client side with JavaScript, this may help; http://www.codeproject.com/jscript/search_in_files.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php