$connection = fsockopen("www.planetside.com",80,$error_number,$error_description,30);
if (!$connection) {
echo "$error_description ($error_number)<br>\n";
} else {
fputs($connection, "GET /beta/patch_message.jsp HTTP/1.0\r\nHost:[url]www.planetside.com\r\n\r\n[/url]");
while (!feof($connection)) {
echo fgets($connection,128);
}
fclose($connection);
}
Continually, this presents a 302 status code (found but moved), even though its possible to type the address in directly and recieve the page.
Anybody know what's going on?