Re: [PHP] detecting file size

2005-12-13 Thread Ahmed Saad
Ahmed basha :) On 12/12/05, Ahmed Abdel-Aliem <[EMAIL PROTECTED]> wrote: > 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. You may want to read this code walkthrough http://blog.joshuaeichorn.com/archives/2005/05

Re: [PHP] detecting file size

2005-12-12 Thread Jeffrey Sambells
The php script starts to execute AFTER the file has already been uploaded so the quick answer is no you can't get the file size prior to the upload finishing (in PHP). I fought with a similar problem and ended up implementing the uploading portion of a script using perl which has access to the

RE: [PHP] detecting file size

2005-12-12 Thread Jay Blanchard
[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;