im tryinh to connect to telnet and getting the options of the account in output.
i have this script but it dose not print any output, any idea! why?
if(!$fp = fsockopen('77.225.214.223' ,23))
return "telnet Server is down, Please try again soon.";
fputs($fp, "webmaster\r\n");
fputs($fp, "45450\r\n");
fputs($fp, "ds\r\n");
fputs($fp, "44540\r\n");
while(feof($fp))
$result .= fgets($fp, 1028);
fclose($fp);
echo $result;