I know this wouldn't be a new question.. but since i couldn't find any old post.. i'm asking now... i'm running phproxy script and i want to show ads on proxified page. problem is i can successfully edit index.php and adsense does show up. But putting adsense is again TOS.. so i decided to put adbrite code.. but adbrite dont show up!! Here is the code where ad would go: $_url_form = '<div style="width:100%;margin:0;padding:4px 0;position:relative;top:0;left:0;z-index:9;text-align:center;border-bottom:1px solid #666;color:#000;background-color:#F2FDF3;font-size:12px;font-weight:bold;font-family:Bitstream Vera Sans,arial,sans-serif;">' . '<form method="post" action="' . $_script_url . '">' . ' <label for="____' . $_config['url_var_name'] . '"><a href="' . $_url . '">Address</a>:</label> <input id="____' . $_config['url_var_name'] . '" type="text" size="80" name="' . $_config['url_var_name'] . '" value="' . $_url . '" />' . ' <input type="submit" name="go" value="Go" />' . ' [go: <a href="' . $_script_url . '?' . $_config['url_var_name'] . '=' . encode_url($_url_parts['prev_dir']) .' ">up one dir</a>, <a href="' . $_script_base . '" title="Proxied Homepage">main page</a>]' . '<br /><hr />**I PUT MY AD CODE HERE**'; PHP: You can see i put my ad code in last line after < h r /> tag. It works well with adsnese but adbrie dont show up I also tried using include file tag.. but with no help... plz help.
nvm.. problem solved. This thing helped: http://www.freeproxytemplates.com/adversal-adbrite-proxy/ (thanks to google!)
I think the code is correct is there any error giving in page. If the error is not coming. Go to adbrite and copy the code again I think may be some code you have missed to copy.
Thats great a7a7 you have solved the problem but the problem is not too complex. Cheers for solving it yourself.
People don't realize that you need to change the var codes or take them all out together for AdBrite to work! Glad that tutorial helped ya dude