I am trying to get and display information from this page:
http://tac0.be/now.phpThe only problem I am having is it says:
HTTP/1.1 200 OK
Date: Tue, 15 Nov 2005 14:33:45 GMT
Server:
X-Powered-By: PHP/4.4.0
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
10
~No Stream

~
0
when I display it using this:
on *:text:!now:*: {
sockopen radio tac0.be 80
}
on *:sockopen:radio:{
sockwrite -n $sockname GET /now.php HTTP/1.1
sockwrite -n $sockname Host: tac0.be $+ $crlf $+ $crlf
}
on *:sockread:radio:{
if ($sockerr) {
echo -a Error.
halt
}
else {
var %text
sockread %text
say %text
}
}
The last thing I tried to do is put ~'s before and after the text it displays so I can use $gettok() but that doesn't work..