Jump to content

Loader


GD77

Recommended Posts

I think what we're all trying to get at is, what are you doing that's causing that kind of delay?  In most normal cases, long execution time is the result of poorly written code, either PHP code itself, or PHP code that generates a ton of unneeded SQL queries.

 

To (not) answer the question, I'm not sure if you can do what you want.  PHP doesn't have true asynchronous behavior as far as I'm aware.  I'm not sure if it would be possible to fork processes, and if it were possible, if the two would be able to interact.

Link to comment
https://forums.phpfreaks.com/topic/266043-loader/#findComment-1363329
Share on other sites

The connection opens, code gets parsed, data gets sent, and it closes.

 

There's no way to 'update' the client on progress without some sort of client-side checking, or forcing a connection to remain open. Neither of these are possible with PHP alone, from what I understand.

Link to comment
https://forums.phpfreaks.com/topic/266043-loader/#findComment-1363331
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.