View file gchat/count.php
<?php $curl = curl_init ("http://globalscripts.ru/gchat/counter.php"); curl_setopt ($curl, CURLOPT_HEADER, false); curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($curl, CURLOPT_TIMEOUT, 1); $result = curl_exec ($curl); if (!$result) $result = '*'; curl_close ($curl); echo $result;