Focused

Go Back   Focused > Design and Development > Web Development > Proxies

» Sponsors

Register Now for FREE!
Our records show you have not yet registered to our forums. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
 
Random Question
  I agree to forum rules 

Adversal on cgi proxy

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 15-02-2007, 11:26 AM
New user
 
Join Date: Jan 2007
Posts: 5
Rep Power: 0
healthaffiliate is on a distinguished road
Adversal on cgi proxy

Hi.

I need help adding adversal ads to proxified pages on a cgi-proxy website. Can anyone help?

Also do I have to customise the script in any way to reduce abuse?

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Sponsored Ads

  #2  
Old 15-02-2007, 02:39 PM
Sohan's Avatar
Administrator
 
Join Date: Jul 2006
Location: Leicester, UK
Posts: 551
Blog Entries: 18
Rep Power: 15
Sohan is on a distinguished road
Send a message via MSN to Sohan Send a message via Skype™ to Sohan

I don't recommends using Adversal, because it will stop your traffic. The visitors hate popups.

If you still want to implement it, reply again.
__________________
Make a free blog with focused!
Arcade167 - The free arcade!
Leicester Personal Trainers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 03-03-2007, 01:45 AM
New user
 
Join Date: Mar 2007
Posts: 3
Rep Power: 0
Loudmedia is on a distinguished road

can you please post the info , thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 03-03-2007, 10:35 AM
Sohan's Avatar
Administrator
 
Join Date: Jul 2006
Location: Leicester, UK
Posts: 551
Blog Entries: 18
Rep Power: 15
Sohan is on a distinguished road
Send a message via MSN to Sohan Send a message via Skype™ to Sohan

Open the .pl file, and look for $INSERT_FILE and put ads.php in between the quotes. Then save the file and upload it again.

Then make the file called ads.php and place your adversal code in that.

Code:
# If either $INSERT_HTML or $INSERT_FILE is set, then that HTML text or the
#   contents of that named file (respectively) will be inserted into any HTML
#   page retrieved through this proxy.  $INSERT_HTML takes precedence over
#   $INSERT_FILE.
# When viewing a page with frames, a new top frame is created and the
#   insertions go there.
# NOTE:  Any HTML you insert should not have relative URLs in it!  The problem
#   is that there is no appropriate base URL to resolve them with.  So only use
#   absolute URLs in your insertion.  (If you use relative URLs anyway, then
#   a) if $ANONYMIZE_INSERTION is set, they'll be resolved relative to this
#   script's URL, which isn't great, or b) if $ANONYMIZE_INSERTION==0,
#   they'll be unchanged and the browser will simply resolve them relative
#   to the current page, which is usually worse.)
# The frame handling means that it's fairly easy for a surfer to bypass this
#   insertion, by pretending in effect to be in a frame.  There's not much we
#   can do about that, since a page is retrieved the same way regardless of
#   whether it's in a frame.  This script uses a parameter in the URL to
#   communicate to itself between calls, but the user can merely change that
#   URL to make the script think it's retrieving a page for a frame.  Also,
#   many browsers let the user expand a frame's contents into a full window.
# [The warning in earlier versions about setting $INSERT_HTML to '' when using
#   mod_perl and $INSERT_FILE no longer applies.  It's all handled elsewhere.]
# As with $INSERT_ENTRY_FORM, note that any insertion may throw off any
#   precise layout, and the insertion is subject to background colors and
#   other page-wide settings.

#$INSERT_HTML= "<h1>This is an inserted header</h1><hr>" ;
$INSERT_FILE= 'ads.php' ;
If you don't get that, try $0 - $30 a day. 0 - 700,00 hits a day. (View Single Post)
__________________
Make a free blog with focused!
Arcade167 - The free arcade!
Leicester Personal Trainers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 03-03-2007, 06:17 PM
New user
 
Join Date: Mar 2007
Posts: 3
Rep Power: 0
Loudmedia is on a distinguished road

thank you and im bout to give it a wirl. can i also place adbrite ads in this? like ad blocks? if so what would be the code for that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 05-03-2007, 06:04 PM
Sohan's Avatar
Administrator
 
Join Date: Jul 2006
Location: Leicester, UK
Posts: 551
Blog Entries: 18
Rep Power: 15
Sohan is on a distinguished road
Send a message via MSN to Sohan Send a message via Skype™ to Sohan

Just place the adbrite code in ads.php as well.
__________________
Make a free blog with focused!
Arcade167 - The free arcade!
Leicester Personal Trainers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 06-03-2007, 06:49 PM
New user
 
Join Date: Mar 2007
Posts: 3
Rep Power: 0
Loudmedia is on a distinguished road

Quote:
Originally Posted by Sohan View Post
Just place the adbrite code in ads.php as well.
yea got it and working nicely . thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 07-03-2007, 04:23 PM
Sohan's Avatar
Administrator
 
Join Date: Jul 2006
Location: Leicester, UK
Posts: 551
Blog Entries: 18
Rep Power: 15
Sohan is on a distinguished road
Send a message via MSN to Sohan Send a message via Skype™ to Sohan

No problem :P
__________________
Make a free blog with focused!
Arcade167 - The free arcade!
Leicester Personal Trainers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT. The time now is 02:27 PM.
©2006, Focused.ORG. All Rights Reserved.
Search Engine Friendly URLs by vBSEO 3.2.0