of course.  if it supports sockets then i dont see why it wouldnt
work with a back-n-forth exchange of information over those sockets.

php.net/sockets

look how much smaller that URL is than all the text you typed
out in the message :)  always check the online manual first.

-----Original Message-----
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 5:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Interactive Shells


Can PHP work with interactive shells such as telnet like Expect does?

ie:
waitfor "ogin:"
put $login
waitfor "assword:"
put $password


etc.


TIA! :-)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to