I am trying to include a file from another directory and then return chdir to the current / original form.
chdir('/some/path'); include(./file.php); chdir();
Anyway, to change chdir back to where the .php file is? or do i need to do it manually?
source share