Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 31-12-04
drivetowin's Avatar
Driving to win
 
Join Date: Aug 2003
Location: If I'm not at home, I'm in hospital
Posts: 7,363
Thanks: 5
Thanked 8 Times in 5 Posts
drivetowin seems to know their stuff
  PHP redirect question

Hi

I currently have a php script for my own tracking of links which having retrieved the affiliate link from my database uses
header("Location: $redirect");
to send the visitor to the merchant site using the affilate link url

This all works fine.

However, now what I would like to do is be able to open another window from my php script, i.e. still open the merchant site in a browser window but also open a new window (which is going to contain a survey form - not that the content matters iro this question) - preferably as a pop-under.

I've been playing all morning on this and cant come up with a solution so any ideas would be very welcome.

Thanks

Keith
__________________
Never argue with idiots. They just drag you down to their level and then beat you with their experience.

If ignorance is bliss then some of the people I know must be orgasmic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 31-12-04
morleymouse's Avatar
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,752
Thanks: 3
Thanked 10 Times in 6 Posts
morleymouse is an unknown quantity at this point
instead of having a header thing, you could make it output a html page, with a HTML redirect at the top. you know them http refresh things (cant remember name or code off hand) so that that send the user to the right page after 1 second or something.

then in the body of the html document have some javascript to pop up your survey window.

person clicks on redirect link, loads html page, survey pops up in background and browser shoots off to merchant page.
__________________
Dan Morley
Alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7