[Project] Web-based Configurator for Networking Devices

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
FiOh
Forum Commoner
Posts: 39
Joined: Tue Dec 12, 2006 12:20 am

[Project] Web-based Configurator for Networking Devices

Post by FiOh »

Hi everyone here,

I am a student without any PHP knowledge here and i have read in the PHP self learning books that we can use the PHP to make a Network Connection. I need to build a webpage using php to select a certain networking device (router or switch) and i need to login to the selected device (input fields are Username, Telnet password and Enable password). I need to connect to the selected device via the Cisco Terminal Server first then the terminal server will connects to the selected device (router or switch).

Actually i am working on an existing project but i am stucked in the part for the connection to the terminal server. I am thinking if it is possible for me to write my own codes as i cannot debug the existing project's errors.
>_<

How do i write the coding to connect to the Terminal Server then connect to the selected device?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

you need to open a socket, use fsockopen()
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

You already have a thread on this subject, viewtopic.php?t=62010
Locked