How it detects that you are currently present when executing it:
You can either use the command or PHP's built-in function to get the work directory . The latter is recommended. However, if you know the full path of your PHP script, then you should specify it and you do not care what directory you currently want to be included in. > Exec ("
exec ("php /path/to/somescript.php");
No comments:
Post a Comment