castor_troy Posted July 28, 2008 Share Posted July 28, 2008 Is it possible to display a progress bar to indicate when will the php script will finish executing? as of now I'm only using Ajax spinners. TIA, Archie Link to comment https://forums.phpfreaks.com/topic/117028-php-script-progress-bar/ Share on other sites More sharing options...
DarkWater Posted July 28, 2008 Share Posted July 28, 2008 It's hard to get an accurate reading on it. Honestly. Ajax spinners are fine. Link to comment https://forums.phpfreaks.com/topic/117028-php-script-progress-bar/#findComment-601940 Share on other sites More sharing options...
Jabop Posted July 28, 2008 Share Posted July 28, 2008 I always wondered how you'd get an accurate percentage with php/ajax. Spinners would be the favorable method imo. Link to comment https://forums.phpfreaks.com/topic/117028-php-script-progress-bar/#findComment-601942 Share on other sites More sharing options...
tibberous Posted July 28, 2008 Share Posted July 28, 2008 Flash is where it's at for progress bars. The ajax ones I've seen require PHP be modded. Link to comment https://forums.phpfreaks.com/topic/117028-php-script-progress-bar/#findComment-601943 Share on other sites More sharing options...
castor_troy Posted July 28, 2008 Author Share Posted July 28, 2008 ayt. so really, there's no other way? Not even with the help of Perl? anyways, I'm just trying my luck maybe someone knows. Thanks guys. Link to comment https://forums.phpfreaks.com/topic/117028-php-script-progress-bar/#findComment-601945 Share on other sites More sharing options...
castor_troy Posted July 28, 2008 Author Share Posted July 28, 2008 Flash is where it's at for progress bars. The ajax ones I've seen require PHP be modded. I see. So that will make it impossible for me since I doubt if they'll let PHP be modded or even allow me to use Flash. Link to comment https://forums.phpfreaks.com/topic/117028-php-script-progress-bar/#findComment-601947 Share on other sites More sharing options...
tibberous Posted July 30, 2008 Share Posted July 30, 2008 Yeah - the way I understand it, the ajax progress bars work by seeing how much of the file the server has saved, which means accessing the uploaded part of the file before it is uploaded. Flash works by getting the progress on the client side, which is the better way to do it but not supported by browsers. Link to comment https://forums.phpfreaks.com/topic/117028-php-script-progress-bar/#findComment-603402 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.