Page 1 of 1
Telnet using cURL
Posted: Wed Feb 18, 2004 8:27 am
by Saethyr
Has anyone done this? I searched and found a few things but none of them seemed to work.
Posted: Wed Feb 18, 2004 2:01 pm
by ol4pr0
Why you should wanna go telnet from within the php?
have you tried this ?
Code: Select all
curl_init('telnet://somehost:22');
Posted: Wed Feb 18, 2004 8:37 pm
by Saethyr
I play on a MUD, or multi user dungeon, it's kinda D&D online but text based, I want a site I am building to be able to connect to and do certain commands so that certain information on the page is always current. As far as the code you suggested I have tried every cURL function I can find for telnet, but, I have read in many places that the telnet support in cURL is weak at best. I may end up doing this with python. Thanks guys.