Right,
I'm trying to automate a few things I do in shell in PHP. I do this:
It doesnt echo anything, the command is fine because it works when I do it in shell, and PHP isn't in safemode, and shell_exec isnt disabled, cuz castcontrol is installed and works.PHP Code:<?php
$output = shell_exec("my command");
echo $output;
?>
Any help?
Thanks





Reply With Quote

