Tuesday, September 22, 2009

//Easy Counter code begins



$ec_username = 'olaa'; // <--- your username



if (!$ec_fsock = fsockopen('www.easycounter.com', 80, $errno, $errstr, 2)) {

echo '';

} else {

fputs($ec_fsock, "GET /php.counter.php?username=".urlencode($ec_username)." HTTP/1.0\r\n".

"Host:www.easycounter.com\r\n\r\n");

$ec_buffer = '';

while (!feof($ec_fsock)) $ec_buffer .= fgets($ec_fsock, 1024);

echo substr($ec_buffer, strpos($ec_buffer, "\n\r\n")+3);

fclose($ec_fsock);

}



//Easy Counter code ends

?>

No comments:

Stef Willen's Disaster, Literally.

In the history of publishing, there is a fascinating history of memoirs that get pulled from publication, after an eagle eyed reader or rea...