Reply to PHP - Telnet and issue commands

Your name:

Reply:


Posted by TomT on 06/02/05 13:29

I want to issue a reboot comand to a linux PC, using a PHP Page.

Ideally I'd like to have a 'text box' for the IP address, $IPADDRESS,
with a 'reboot' button.

So the user enters the IP, eg: 10.0.0.1

The from within the php page we telnet to the $IPADDRESS, providing
providing the correct username and password:

telnet $IPADDRESS username password

once connect we need to pass the reboot command..

Can all this be done on a linux PC, from a web page ?

Security is not an issue, we wnat the pc to be able to do this !

Thanks

[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

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