fusioneko Posted April 17, 2007 Share Posted April 17, 2007 I'd like to somehow manage to get php sending things to windows cmd.exe. Is thier any possible way for example. I have to run a program to register a user, and I need to knwo if php is even capable of speaking with it. C:\Documents and Settings\USER\Desktop\SOMEFOLDER\release\system>addlicense.exe -a42790 8484 -psomepassword -ysomeuser -zsomepassword -l4 -b0 this is an example of what Im sending. IF thier is a way please educate me Link to comment https://forums.phpfreaks.com/topic/47428-php-and-windows-cmdexe/ Share on other sites More sharing options...
utexas_pjm Posted April 17, 2007 Share Posted April 17, 2007 If I'm not mistaken http://us.php.net/function.exec or system() should work. Best, Patrick Link to comment https://forums.phpfreaks.com/topic/47428-php-and-windows-cmdexe/#findComment-231434 Share on other sites More sharing options...
fusioneko Posted April 17, 2007 Author Share Posted April 17, 2007 I was already looking at this, I was hoping for a much better example to guide me, The php.net documentation isnt the most accurate on this one. Link to comment https://forums.phpfreaks.com/topic/47428-php-and-windows-cmdexe/#findComment-231440 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.