How to display loading image while uploading a file?
Posted: Mon Nov 01, 2004 8:29 pm
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?
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?