i would like to know how to excute a program(.exe) with and without parameter, using php. where the program is on the server computer but in a diffrent directory.
At the moment i can use exec(ProgramName) but it only works with programs in the same folder as the php
so how may i change to execute in another directory and how can i add parameters such as "dsshost -port:50000 -tcpport:50001 "
This post has been edited by redfla9: 05 February 2009 - 09:26 PM