pep.zone
Welcome, guest. You are not logged in.
Log in or join for free!
 
Stay logged in
Forgot login details?

Login
Stay logged in

For free!
Get started!

Home page


skb - Logos
skbcabey1.pep.zone

khareem c

<?php
// AdMob Publisher Code
// Language: PHP
// Version: 20080401
// Copyright AdMob, Inc., All rights reserved

// change to "live" when ready to deploy
define("ADMOB_MODE", "test");

function admob_append_params(&$params, $key, $val) {
if(!empty($val)) $params .= ("&" . urlencode($key) . "=" . urlencode($val));
}
function admob_append_headers(&$params) {
$admob_ignore = array("HTTP_PRAGMA","HTTP_CACHE_CONTROL","HTTP_CONNECTION","HTTP_USER_AGENT","HTTP_COOKIE","HTTP_ACCEPT");
foreach ( array_keys( $_SERVER ) as $var ) {
if ( substr( $var, 0, 4 ) == "HTTP" && !in_array( $var, $admob_ignore ) ) {
$params .= "&" . urlencode("h[" . $var . "]" ) . "=" . urlencode( $_SERVER[$var] );
}
}
}
function admob_ad($admob_params=array()) {
// build url
$admob_page_url = sprintf("http%s://%s%s",
(isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == TRUE ? "s": ""),
$_SERVER["HTTP_HOST"],
$_SERVER["REQUEST_URI"]
);
$md5_sid = session_id();
if(!empty($md5_sid)) $md5_sid = md5($md5_sid);
$admob_post = "s=" . $admob_params[ADMOB_SITE_ID];
admob_append_params($admob_post, "u", $_SERVER["HTTP_USER_AGENT"]);
admob_append_params($admob_post, "i", $_SERVER["REMOTE_ADDR"]);
admob_append_params($admob_post, "p", $admob_page_url);
admob_append_params($admob_post, "t", $md5_sid);
admob_append_params($admob_post, "e", "UTF-8");
admob_append_params($admob_post, "ma", $admob_params[ADMOB_MARKUP]);
admob_append_params($admob_post, "v", ADMOB_VERSION);
admob_append_params($admob_post, "d[pc]", $admob_params[ADMOB_POSTAL_CODE]);
admob_append_params($admob_post, "d[ac]", $admob_params[ADMOB_AREA_CODE]);
admob_append_params($admob_post, "d[coord]", $admob_params[ADMOB_COORDINATES]);
admob_append_params($admob_post, "d[dob]", $admob_params[ADMOB_DOB]);
admob_append_params($admob_post, "d[gender]", $admob_params[ADMOB_GENDER]);
admob_append_params($admob_post, "k",...


This page:




Help/FAQ | Terms | Imprint
Home People Pictures Videos Sites Blogs Chat
Top
.