View Full Version : How to add an advertisement in this PHP page? (Free Stumble/Digg if you can help!)
Renegadez
Jan 3rd 2008, 2:29 am
I am running phproxy 5 (.php page is incldued below)
http://www.nomorepasting.com/getpaste.php?pasteid=9298
& I want to add a popunder code for when people start visiting other sites using the proxy.
How do I do this? I am unsure of where to add the javascript code for the popunder!
Thanks.
+Rep for anyone who helps.
Or I'll StumbleUpon their page, or Digg, etc.
matthewrobertbell
Jan 3rd 2008, 7:44 am
On this line:
$_url_form = '<div style="width:100%;margin:0;text-align:ce
put the javascript code before the "<div"
LittleJonSupportSite
Jan 3rd 2008, 8:31 am
I am running phproxy 5 (.php page is incldued below)
http://www.nomorepasting.com/getpaste.php?pasteid=9298
& I want to add a popunder code for when people start visiting other sites using the proxy.
How do I do this? I am unsure of where to add the javascript code for the popunder!
Thanks.
+Rep for anyone who helps.
Or I'll StumbleUpon their page, or Digg, etc.
I am currently in the office so I am unable to test this so I slapped it together rather fast.
But this will Show a message box.
Doesn't have to you can easily include "something.html";
Or even doe a <<<EOF:
Renegadez
Jan 3rd 2008, 4:17 pm
On this line:
$_url_form = '<div style="width:100%;margin:0;text-align:ce
put the javascript code before the "<div"
Parse error: syntax error, unexpected T_STRING in /home/prxy/public_html/index.php on line 1143
Trying yours LittleJohn.
Renegadez
Jan 3rd 2008, 4:29 pm
Didn't work either, john :(
matthewrobertbell
Jan 3rd 2008, 4:37 pm
Post the lines you altered and i'll point out the error.
Renegadez
Jan 3rd 2008, 4:59 pm
its cuz the code has spaces and ' stuff (like google's adsense publishing code) and it gave me that error
pasted in the front of <div
matthewrobertbell
Jan 3rd 2008, 5:05 pm
put a "/" before all ', so php doesnt think the ' is the end of the statement.
Renegadez
Jan 3rd 2008, 5:12 pm
can u show me an example with a google adsense code
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxx";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "2A5DB0";
google_color_text = "333333";
google_color_url = "82C13E";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
jayant_me
Jan 3rd 2008, 10:57 pm
See if this is what u are looking for
http://tinyurl.com/36ajj4
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.