Hi!
I use a small microtime()-based function to calculate the processing time of my php script. The trouble is, I have a jpgraph bar chart included in the middle of it, and this queries a MySQL database and uses quite a bit of time. However, this time isn't included in the processing time calculation. The main page just pops onto the screen, displaying a very small processing time at the bottom, and a few seconds later the bar chart is displayed. Is there a way to include the processing time of another php script (image generating)? Maybe some way to force the main page to pre-load the image so it won't finish displaying the rest of the page before the picture has been calculated?
Many thanks for any advice. 🙂
Eloquence