Page 1 of 1

How to display loading image while uploading a file?

Posted: Mon Nov 01, 2004 8:29 pm
by myleow
I wrote a file upload script page but thought that it was too plain. So i am made a LOADING animated gif as a placeholder while the file is being uploaded.

page A has the form to upload the file, then page B process the upload file and forward browser back to Page A.

I tried putting the image on Page B but it just stayed there forever and not redirecting.

Anyone have an example that i can look at?

Regards
Mian

Basically: I made a PHP file upload script and wanted to know how to put up a place-holder image while the file is being uploaded?

Not a Progress Bar

Posted: Tue Nov 02, 2004 12:02 am
by myleow
Just so you know, i am not looking for a Porgress Bar indicator for uploading the file because PHP can't do that.

I am just looking for a way to put up a place-holder image on the browser while the file finish upload and server complete parsing process, then send the user to the complete page.

Posted: Tue Nov 02, 2004 12:12 pm
by myleow
Well, posting a link to a helpful resource would also be of great assistance.