steviez Posted January 31, 2007 Share Posted January 31, 2007 Hi, I have a upload script on my image hosting site, when a uer clicks the upload button i want the image bellow to apear. i dont need anything fancy as when the upload is complete it goes to another page. My site is writen it php but also uses xhtml. This is the image i want to apear: Any help would be great! Link to comment https://forums.phpfreaks.com/topic/36509-help-with-upload-script/ Share on other sites More sharing options...
The Little Guy Posted January 31, 2007 Share Posted January 31, 2007 I think something like this should work. <?php flush(); ob_flush(); ?> <img alt="loading" src="http://www.illusion-hosting.co.uk/loading.gif" /> Link to comment https://forums.phpfreaks.com/topic/36509-help-with-upload-script/#findComment-173887 Share on other sites More sharing options...
steviez Posted January 31, 2007 Author Share Posted January 31, 2007 I think something like this should work. <?php flush(); ob_flush(); ?> <img alt="loading" src="http://www.illusion-hosting.co.uk/loading.gif" /> Unless im doing something wrong its not working, thanks for the try though Link to comment https://forums.phpfreaks.com/topic/36509-help-with-upload-script/#findComment-173999 Share on other sites More sharing options...
HuggieBear Posted February 1, 2007 Share Posted February 1, 2007 I think the only way to do this is via Javascript. It MUST be client side. So what you want is an on-click event, that when you click submit does something like a document.write and then submits the form. It is possible. I'll look tomorrow. Regards Huggie Link to comment https://forums.phpfreaks.com/topic/36509-help-with-upload-script/#findComment-174133 Share on other sites More sharing options...
steviez Posted February 1, 2007 Author Share Posted February 1, 2007 Thank you Link to comment https://forums.phpfreaks.com/topic/36509-help-with-upload-script/#findComment-174134 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.