bump 
anybuddy please help me

anybuddy please help me
Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu

echo (mobisolv_ad());
?>
<?
function mobisolv_ad()
{
$request_timeout = 2;
$contents = '';
$errno = 0;
$errstr = '';
list($usec_start, $sec_start) = explode(' ', microtime());
$request = @fsockopen('myadz.in', 80, $errno, $errstr, $request_timeout);
if($request)
{
stream_set_timeout($request, $request_timeout);
$mob_ua = urlencode($_SERVER['HTTP_USER_AGENT']);
$mob_ip = urlencode($_SERVER['REMOTE_ADDR']);
$mob_apn = urlencode($_SERVER['HTTP_APN']);
$mob_net = urlencode($_SERVER['HTTP_X_NETWORK_INFO']);
$mob_ver = 2;
$mob_url = "POST /ads.aspx?pid=1699&ua=".$mob_ua."&ip=".$mob_ip."&apn=".$mob_apn."&net=".$mob_net."&v=".$mob_ver." HTTP/1.0\r\nHost: myadz.in\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: " . strlen($post) . "\r\n\r\n" . $post;
$post_body= $mob_url;
$post_body_len = strlen($post_body);
$bytes_written = 0;
$body = false;
$info = stream_get_meta_data($request);
$timeout = $info['timed_out'];
while($bytes_written < $post_body_len && !$timeout) {
$current_bytes_written = fwrite($request, $post_body);
if($current_bytes_written === false) return ''; // write failed
$bytes_written += $current_bytes_written;
if($bytes_written === $post_body_len) break;
$post_body = substr($post_body, $bytes_written);
$info = stream_get_meta_data($request);
$timeout = $info['timed_out'];
}
while(!feof($request) && !$timeout) {
$line = fgets($request);
if(!$body && $line == "\r\n") $body = true;
if($body && !empty($line)) $contents .= $line;
$info = stream_get_meta_data($request);
$timeout = $info['timed_out'];
}
fclose($request);
}
else {
$contents = '';
}
if (!ereg('im=', $contents)) {
$contents="";
}
return $contents;
}
?>
Quote from: ccbtimewiz on December 12, 2008, 04:37:42 PM
What is your problem?