PHP Classes

What is the best PHP telnet class?: Automated access to server via telnet

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP telnet class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP telnet class?

Edit

Picture of Ali by Ali - 10 years ago (2015-01-21)

Automated access to server via telnet

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I want telnet to a device but my application needs to login using first username and then password.

I want a class to solve this problem automatically.

Ask clarification

1 Recommendation

FSM Chat: Automated dialog robot using finite state machines

This class can be used to implement an automated dialog robot using finite state machines.

The class can be configured to define input text strings under each state, response strings and the new states to assume when the specified input texts appear.

It can act as an automated chat robot that can be hooked to a remote console via telnet or other networking protocol.

Other possible applications: text file parser, command line interpreter etc.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 10 years ago (2015-01-22) Comment

It seems you need a solution to wait for the login prompt, enter the user name, wait for the password prompt, enter the password and then execute some custom commands.

In that case this class seems to be exactly for that purpose. It uses finite state machines to let you build a robot that can automatically login for you.


Recommend package
: 
: