i am trying to run telnet from php ---- TRYING <?php $a="telnet localhost"; $b=echo ($a); ?>
no i want to pass login and password to this how ?????
please leme know how do i achieve this
mandar
Hello,
I don't think that you should do this with exec. Instead I would recommend you to take a look at the way sockets works in PHP.
http://www.php.net/manual/en/ref.sockets.php
Here you will find some examles on how to use sockets, for example making a tcp/ip client.
Good luck