Dear all, Anyone has a clue for writting interactive router command by PHP. I try on fsockopen for several time but got problem with output.
Please attach me some codes. Thank you.
You want to configure your router through PHP? Have you thought about the security issues and what would happen if your connection failed while you are sending commands to the router?
As for your script, post some code and we will help you fix it.
It is risky to configure via WWW, what I wanna do is just show some statistic via web by using non-priviledge user mode in router.
Any clue?
That shoud be easy enough. All you should have to do is open a socket and send/receive the right commands.
can you access the router through telnet?