How do I use fsockopen() to open a Telnet connection with a password?

前端 未结 3 658
面向向阳花
面向向阳花 2021-01-15 04:09

I\'d like to access a camera through it\'s Telnet capability. The problem is, it has Password-protection. This is no problem when doing it via Terminal, as I just use

3条回答
  •  难免孤独
    2021-01-15 04:50

    There is a class implementing loginc over telnet right here : http://www.dali.net.nz/Telnet.class.php.txt

    See function login($username, $password).

提交回复
热议问题