Welcome to WebmasterWorld Guest from 220.127.116.11
I'm trying to use the system command so that it changes to the correct directory using the 'cd' command
Now I'm getting a file permission error, however I do know why because the system command shown below is not doing what it suppose to be doing.
Can anyone tell me why?
$sys = system ("cd $home_dir");
echo "sys =(($sys)).<br><br>";
when I do echo the 'sys' variable I get nothing. Am I using the system function correctly, once I have cracked this then the whole script should work fine.