|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I would like to put a telnet connection in a frame or in some way pass data to and from a browser. Is there a way that javascript can handle it? Thanks.
|
|
#2
|
|||
|
|||
|
The only way I can think of to do this would be to use a Java Applet as the telnet session. Even then though I think you would have problems passing info to it from Javascript. There is no way (that I know of) of passing data to and from a browser. That would be a BIG security hole!
Look into using Java applets... ------------------ Mark Ogden http://homepage.ntlworld.com/pogden |
|
#3
|
|||
|
|||
|
It is possible, at some level, but not with mere Javascript. You would need some server-side scripting. Even so, it would be difficult to get the FULL functionality of telnet in a browser without an actual telnet client in Java.
It is more possible if you are interested in connecting only to one server, which has PHP or Perl. There are several existing PHP scripts which let users enter commands on the server, and view output. See http://gimpster.com/php/phpshell/index.php Also, search the PHP forum for 'telnet'. In one thread, member 'freebsd' mentions a perl module that has more advanced funcitonality. But yes, it's about the biggest security hole imaginable, and you can sometimes have unpredictable results. Be careful. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > How do you pass data to browser from telnet? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|