As vrea sa stiu daca sa poate face un tunel de telnet prin php.
Am incercat sa fac script-ul in php care arata cam asa:

<---myscript.php3--->
<?php
set_time_limit(0);
ob_implicit_flush() ;
$fp = fsockopen ("$host", $port, $errno, $errstr);
if (!$fp) {
    echo "$errstr ($errno)\n";
} else {
    fputs ($fp, "");
    while (!feof($fp)) {
        $bit = fread ($fp,1);
        echo $bit;
    }
    fclose ($fp);

}
?>
<---/myscript.php3--->


Iar  clientul de telnet trebuie modificat sa se conecteze la
www.myserver.com pe 80 si sa trimita:
GET /myscript.php3?host=juge.com&port=23 HTTP/1.1
Host: www.myserver.com:23
Connection: Keep-Alive

Acum as vrea sa stiu daca dupa ce (browserul sau aici clientul de telnet)
trimite headerele cu GET il mai "asculta" cineva (ce trimite el).
sa incerc cu php://stdin ?





---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui