PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i can't seem to exec simple windows shell commands. i'm using XPsp2, IIS6, PHP5. can't seem to get any of these functions working: `backtick` system() exec() shell_exec()
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
i can't seem to execute cmd commands. i must be doing it wrong. using backticks, shell_exec(), exec(), system() and no luck
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
feyd, i'm so sorry, there must have been a mistake becuase both posts are almost identical. i was having posting problems. when i posted the first time i didn't see my post and must have reposted again. i'm definitely going compare codes, thanks for the help. =)
No. That means that the PHP executable is not in your path. Try navigating to the bin folder in your PHP installation directory and attempting, or adding that directory to your path (alternatively, you can drop a bat file in your WINDOWS directory with the contents along the line of C:\path\to\php.exe %*)