1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP redirect with popunder

Discussion in 'General Scripting Chat' started by gregordroid, Jul 12, 2014.

  1. gregordroid

    gregordroid Newbie

    Joined:
    Jul 12, 2014
    Messages:
    1
    Likes Received:
    0
    Hi, this is my first post here, but I've been lurking for 2 years.

    I'd like to redirect the surfer, and launch a popunder when he types in the url. Like for example, he types url1 he'll be redirected to url2 and a popunder will launch.


    So far I know how to just redirect him. I create an index.php in the root of a domain with this code:


    <html>
    <head>
    <title> Title Here </title>
    <META http-equiv="refresh" content="0;URL=destinationurl">
    <script>
    document.location.href = "destinationurl";
    </script>
    </head>
    </html>


    Anyone know what should I add to this to launch the popunder ?
    Thanks in advance.
     
  2. member8200

    member8200 Regular Member

    Joined:
    Aug 9, 2014
    Messages:
    469
    Likes Received:
    33