LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Andrew Hill <list@fornax.net>
  To  : LinuxSA Mailing List <linuxsa@linuxsa.org.au>
  Date: Mon, 05 Feb 2001 14:09:14 +1030

Re: Expect script called from PHP

Timothy Aslat wrote:
> As far as I can tell, PHP supports everything, and if it doesn't there's always
> the old exec() function.

Yeah, I'm using PHP's system() to call an expect script that then ssh's
into a server.

Using expect because it can respond to what happens on the remote server
when it gives it various commands. Expect is neat.

Cheers,
-- 
Andrew Hill

"Right now, I'd happily snort gunk from the sink if it would take
my brain somewhere away from here...." - JB

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page