freeloader Posted December 15, 2006 Share Posted December 15, 2006 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 loopmulti curl inside a loopforeach loops doing curlsand all that inside a big loopthanks in advance! Link to comment https://forums.phpfreaks.com/topic/30760-delayed-output/ Share on other sites More sharing options...
complex05 Posted December 15, 2006 Share Posted December 15, 2006 It's definitley a loop problem, but unless you post your code we won't be able to help you out.I would recommend trying to isolate each loop to figure out which one is causing the delay and going from there. Link to comment https://forums.phpfreaks.com/topic/30760-delayed-output/#findComment-141774 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.