dezkit Posted August 6, 2008 Share Posted August 6, 2008 how can i do a javascript/php upload progress bar? GOOGLE DOES NOT HELP! Quote Link to comment Share on other sites More sharing options...
corbin Posted August 6, 2008 Share Posted August 6, 2008 http://www.phpfreaks.com/forums/index.php/topic,207901.0.html To elaborate on my post in there, without some extension (to the core), PHP cannot do an upload status bar, as it cannot spit out how much of the file is done. Two questions: -Can you access your php.ini? Can you install a module? -Would you consider a language besides PHP? Quote Link to comment Share on other sites More sharing options...
Third_Degree Posted August 7, 2008 Share Posted August 7, 2008 Yeah I think perl is the way to go, but this MIGHT be accomplished in php without core extension if you used ftp uploading and filesize() and AJAX, but I have never tried it and don't know if it will work. Quote Link to comment Share on other sites More sharing options...
corbin Posted August 7, 2008 Share Posted August 7, 2008 "if you used ftp uploading and filesize() and AJAX, but I have never tried it and don't know if it will work." With a user file? How exactly would you do that? Quote Link to comment Share on other sites More sharing options...
Third_Degree Posted August 7, 2008 Share Posted August 7, 2008 I'm not sure if a directory is updated in realtime when a STOR command happens, but you could pull the most recent file from a directory and continually filesize() it with ajax. Like I said, I don't know if it would work. Quote Link to comment 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.