Page 1 of 1

Upload query

Posted: Sun Sep 15, 2002 4:22 am
by Sharad Mittal
Hi

I have a question about submit button in an upload script. when people press the submit button to upload a file using PHP script , the server begins to upload the file. Now, if the file is heavy (4-5 MB), then it seems as if the server is hung as it takes a lot of time but this is not the case .......the file is actually being uploaded.......so is there i way by which a pop up box will open after the submit button is clicked which will say "Uploading".....till the file is uploaded........please help

sharad

Posted: Mon Sep 16, 2002 2:23 am
by Takuma
I you want the pop up screen to pop up after user clicking the submit button use:-

Code: Select all

<form onSubmit="window.open('file','','options')">
<input type="file" name="file" value="">
</form>