Jump to content

Redirect on _blank popup link


sleepy

Recommended Posts

Hello, I am creating a service which users can gain access to after clicking an advertisement link (The advertiser knows and agrees that this is OK). My objective is to use PHP to display the code that runs the advert. When a user clicks the advert, it loads in a popup (or pop under), and the main page forwards to a new address where the actual service is.

 

So here's a simple flow diagram:

 

Load page > Click advert link > Automatically redirected to content...
                        V
                Advert pops up

 

Also, I will need to incorporate a login script such that the user must log in before moving to the advertiser link page, however I can probably accomplish that with a pre existing script. Could anyone take the time to guide me through the script I would need for the above advertising system to work?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/46529-redirect-on-_blank-popup-link/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.