Forget about my first post.
I've managed to build this:
<?php
//Checks if there is a cookie
if(isset($_COOKIE["cookiename"])) //if cookie is set
{
header("Location: redirectDOTcom"); //redirect to
}
else
setcookie( "cookiename", "something"...
I've found this script:
<a id="abanner"><img src="#" id="ibanner" alt="" /></a>
<script type="text/javascript">
//fill in the information here:
bannerCreate("yourimage","yourlink");
function openWindow(linkLocation)
{
window.open(linkLocation,"");
}
function...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.