Reply to Re: [PHP] howto kill proc stream after X seconds

Your name:

Reply:


Posted by Richard Lynch on 10/03/34 11:10

> $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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация