Link to home
Create AccountLog in
Avatar of Billy Ma
Billy MaFlag for Hong Kong

asked on

Telnet in PHP

I'm using the script obtained from http://www.geckotribe.com/php-telnet/
I tried to use the DoCommand function.
Can anyone tell me how to send a ESC command? Thanks!
Avatar of hielo
hielo
Flag of Wallis and Futuna image

What do you mean ESC? The sequence? I believe that will depend on your system. You can try:
^[
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Billy Ma

ASKER

The answer should be chr(27)