Jump to content

delayed output


freeloader

Recommended Posts

Hi guys,

I wrote a pretty big php file (1500 lines), it works like a charm, but there's one problem. When using it on a webserver, the output (debugging) it produces is extremely delayed. For example, I hit submit buttom and it doesn't give a result for 2-3 minutes, after 2-3 minutes, it gives in one chunk all the debug messages of what he's been doing in the mean time.

Is there any common mistake I might have used? The script is a bit too big to post here, plus I've been doing it for a friend and he asked me to keep some privacy about it.

Any special functions I'm using:

curl inside a loop
multi curl inside a loop
foreach loops doing curls

and all that inside a big loop

thanks in advance!
Link to comment
https://forums.phpfreaks.com/topic/30760-delayed-output/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.