View file free/img.php
<?php /** * @author Demon * @copyright 2012 */ function connect($url){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); $answer = curl_exec($ch); curl_close($ch); return $answer; } header("Content-Type: image/gif"); echo connect('http://freesmsonline.ru/img.gif?sid='.$_GET['sid']); ?>