Entry
Can I change the value of include_path dynamically (at execution time)? How do I restore it back to what it was?
May 23rd, 2000 13:24
Matt Gregory, LARB ILLA,
No, you cannot. You can, however, set up a variable in your script
which has the new** include path and then when you wish to include
something concatinate the strings.
Why on earth would you want to change the include_path variable
anyhow? That would be a MAJOR security hole.
**You can alter the include path anywhere <i>under</i> the include_path
set in your setup/ini file. This limitation is in place for security
purposes. And no, "..\\..\\..\\some_hacking_shell_script.php3" will
not work. :)