all i have to send, at least when i telnet in, is a username and password. no USER command or anything.
i cant even read the welcome message. any usage of fputs or fgets causes everything to hang.
$host="64.246.64.23";
$port = 4500;
$user = "winningedge";
$pass = "dotcom";
$timeout = 45;
$fp = fsockopen($host, $port, $errno, $errstr, $timeout);
if(!$fp)
{
echo $errstr." Error Number:".$errno."<br>";
} else {
echo "Connection successful.";
}
that returns a successful connection. but thats where i'm stuck. go ahead and try to login via telnet. it leads to a nice big XML stream.