Web Hosting Talk







View Full Version : linux/php problem


streamservice.org
03-01-2005, 11:14 AM
how can i make it possible to give whit php (using the exec() command) the command to start a proces on a linux server? and how do i close that proces when i don't know the proces id, i just know the name of the proces. it is possible, i just want to know if someone have an idea how. if someone thinks that he can build this easily than he or she can get $25. but i prefer to get some reaction on how i can do this myself.
anyone an idea?

Burhan
03-02-2005, 01:54 AM
Please see the process control functions (http://www.php.net/manual/en/ref.exec.php) section of the PHP manual, specifically proc_open (http://www.php.net/manual/en/function.proc-open.php).