progress bar

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jayluda
Forum Newbie
Posts: 9
Joined: Tue Aug 02, 2005 10:51 am

progress bar

Post by jayluda »

I need to display a progress bar after someone clicks on my submit button on my form in php. what do i do?
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

a real time progress bar would be hard to implement. i suggest just making a .gif picture which immitates a progess bar moving along and starting again and use javascript to show the image after the submit button has been clicked.

its a long shot but its the only thing i can think of.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

i think you could do this with output buffering. it would be the same thing as running a couple huge queries then telling the user after each one has been completed. i would say have a function that would return a image, possibly create one with php or just use like img width="" or somthing. just at certain sections in the script, or if its looping after every loop, refresh the image with new specs. definatly possible
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Post by thomas777neo »

Post Reply