Jump to content

quick question


sneskid

Recommended Posts

Is there any guarantee in the order in which php scripts run.
I know if I tell the script to sleep, or do a database query, other scripts will still run unbothered.
Is each script technically a seperate process?
Is it possible that the system may decide to put a script on pause for a bit and execute a section of another script before coming back to the first one?

Thanks
Link to comment
Share on other sites

how websites work.
You the user goes to www.example.com, that information is parsed to a server, the code is read and parsed back to the user to what you are reading

With PHP code
You the user goes to www.example.com, that information is parsed to a server, if there is php, that is parsed to a php server, the code is translated to HTM, and parsed back to the first server, then all the information is parsed back to the user to show what you can see.

This happens very quickly. THerefor a single script will not just stop loading without beeing told to, unless there is server issues.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.