nickk Posted April 17, 2008 Share Posted April 17, 2008 Hi, I have a script that requires the user to upload a file. The problem is that the files can be big (10mb+). When the user selects a file of this size and clicks submit, the page clears for a few minutes in which time it looks like the page finished loading while it hasnt. Is there any way to display somethign to the user while the file is uploading? Regards Quote Link to comment https://forums.phpfreaks.com/topic/101546-question-regarding-uploading-of-files/ Share on other sites More sharing options...
laffin Posted April 17, 2008 Share Posted April 17, 2008 PHP is server side only. u want something to display on client side, while php is still working, consider using javascript/ajax. Quote Link to comment https://forums.phpfreaks.com/topic/101546-question-regarding-uploading-of-files/#findComment-519396 Share on other sites More sharing options...
JSHINER Posted April 17, 2008 Share Posted April 17, 2008 A progress bar should do the trick. http://extjs.com/deploy/dev/examples/simple-widgets/progress-bar.html Quote Link to comment https://forums.phpfreaks.com/topic/101546-question-regarding-uploading-of-files/#findComment-519437 Share on other sites More sharing options...
PFMaBiSmAd Posted April 17, 2008 Share Posted April 17, 2008 Here is another version of the same idea - http://www.ajaxf1.com/product/ajax-file-upload.html Quote Link to comment https://forums.phpfreaks.com/topic/101546-question-regarding-uploading-of-files/#findComment-519471 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.