Click to See Complete Forum and Search --> : running windows executable


datamodeler
06-22-2005, 11:45 AM
I need to run a Windows executable from a php script. My hosting company does not allow the php command "system" -- and I guess I can't blame them. But how do I then run an executable to which I must pass parameters? They "suggested" putting the executable into "my" cgi-bin directory. If I were to do so, how would I execute the command from inside a script?

Thanks in advance

Mike Harris

thorpe
06-22-2005, 12:40 PM
exec (http://php.mirrors.ilisys.com.au/manual/en/ref.exec.php)()