[MLB-WIRELESS] Remote Restart script help

Rowan Crowe rowan at sensation.net.au
Fri Jun 17 16:28:05 EST 2005


On Fri, 17 Jun 2005, Adrian Lodders wrote:

> All I really need is it to just know how to run the shutdown command,
> after that I can do the rest of the code myself.
>
> My preferred language is PERL, but if you know how to do it in PHP I'm
> willing to learn ;)

Does perl let you use backticks to run a shell command?

eg:

if ($password == "abcdefg") {
  `shutdown -r now`
}

Cheers.

To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message



More information about the Melbwireless mailing list