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
Upload query
Moderator: General Moderators
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>