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. Quote 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 Quote 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 Quote 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. Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/127844-command-line/#findComment-661933 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.