|
Posted by iuz on 06/03/05 02:54
TomT wrote:
> 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 ?
if the linux system allow you to login and use the shutdown's command..
yes..
use|read http://php.net/fsockopen for infos
>
> Security is not an issue, we wnat the pc to be able to do this !
>
> Thanks
--
www.iuz-lab.info
[Back to original message]
|