PHP redirect with popunder

gregordroid

Newbie
Joined
Jul 12, 2014
Messages
35
Reaction score
20
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.
 
Back
Top