wwfc_barmy_army Posted October 10, 2008 Share Posted October 10, 2008 Hello. Is it possible to use PHP to run a command in the command line on the web server? Thanks. Link to comment https://forums.phpfreaks.com/topic/127844-command-line/ Share on other sites More sharing options...
Lamez Posted October 10, 2008 Share Posted October 10, 2008 I know this is possible, but I do not know how. http://www.google.com/search?hl=en&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=P7G&q=running+command+line+with+php&btnG=Search Link to comment https://forums.phpfreaks.com/topic/127844-command-line/#findComment-661863 Share on other sites More sharing options...
aebstract Posted October 10, 2008 Share Posted October 10, 2008 http://us.php.net/manual/en/function.shell-exec.php Link to comment https://forums.phpfreaks.com/topic/127844-command-line/#findComment-661864 Share on other sites More sharing options...
wwfc_barmy_army Posted October 10, 2008 Author Share Posted October 10, 2008 Thanks. I'll look into it. Link to comment https://forums.phpfreaks.com/topic/127844-command-line/#findComment-661870 Share on other sites More sharing options...
ghostdog74 Posted October 10, 2008 Share Posted October 10, 2008 what shell command are you running? Link to comment https://forums.phpfreaks.com/topic/127844-command-line/#findComment-661933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.