Hi all

I am wondering if anyone has any idea how to echo the data from a website. http://www.textproxylists.com/proxy.php?allproxy

I have tried, but no luck so far.

I paste my code below.
Code:
alias data {
  if ($sock(data)) { sockclose data }
  sockopen data www.textproxylists.com 80
}
on *:sockopen:data: {
  echo -s $sockname Connected to www.textproxylists.com
  sockwrite -n $sockname GET /proxy.php?allproxy HTTP/1.1
  sockwrite -n $sockname Host: textproxylists.com
  sockwrite -n $sockname Connection: Keep-Alive
  sockwrite -n $sockname Content-Type: *
  sockwrite -n $sockname $crlf
}
on *:sockread:data: {
  var %text
  sockread %text
  if (%text) { echo -s %text }
}



Newbie