Re: howto kill proc stream after X seconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> $process = proc_open(''ssh somehost someremotecommand';', $spec, $pipes);

If you have any control at all over that other server, just set up a
password-protected web page *THERE* to run the process (known technology)
and then use cURL to access it (known technology) and call it done.

Beating your head against PHP -> exec -> SSH -> remotecommand will just
get you a headache, almost for sure.

You may want to look into RPC or even SOAP as well, if it's a whole mess
of commands.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux