Jump to content

andrewdav

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by andrewdav

  1. the same thing happens with this command $output = shell_exec("cmd"); i'd expect to see return to $output - but this doesn't happen, just hangs the browser.
  2. it works from the command prompt and outputs as expected, so the command is correct.
  3. Try this <?php if (isset($_get['page'])) { if($_get['page']=='add') {//do add} if ($_get['page']=='edit') {//do edit} } ?>
  4. Hello all, I am using a shell_exec command like the one below: $output = shell_exec('c:\powershell\powershell.exe get-service'); echo($output); However, when launching the page, the browser will hang with the hour-glass. If i end the powershell.exe process on the web server via task manager, the browser then returns the expected output. Any idea why this is? Other commands, like ipconfig return the correct output and the browser displays "Done" in the bottom left. Any help appreciated. Andrew
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.