Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

Effect of PHP ini_set on other scripts?

I'm using ini_set to alter the include_path of one of my PHP scripts.  What I'm trying to figure out is if it will affect other scripts.  The description of it on php.net says that after the script ends, the original values are reset.  But what happens if two scripts run at the same time?  Does the ini_set affect the entire system and all running scripts, or is it contained to just the one script calling it?
0
Xerc
Asked:
Xerc
1 Solution
 
Roger BaklundCommented:
>> Does the ini_set affect the entire system and all running scripts, or is it contained to just the one script calling it?

It is constrained to the one script calling it.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now