I want to execute something after navigating to that directory. It wasn't working so I tried to do a pwd command to see where it was going:
$temp = "cd ".$path;
echo $temp;
echo "\n";
system($temp, $retValue);
system("pwd", $retValue);
echo $retValue;
These are the results of these statements:
cd /usr/lib/mailman/bin/ /usr/local/sirg/vptest 0
note: /usr/local/sirg/vptest is the directory where my php file is.
as you can see from the echo's the cd command is not working properly becuase it is not changing the directory. Any ideas?
thanks
-stooge