<?php $conn = @fsockopen('tcp://www.example.com', 80); If (!$conn) die('Unable to connect to www.example.com'); fwrite($conn, "GET / HTTP/1.0\r\n"); fwrite($conn, "Host: www.example.com\r\n\r\n"); fpassthru($conn); ?>