1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Information Pop-Up (like Vbulletin)

Discussion in 'PHP' started by Drew007, Apr 14, 2007.

  1. #1
    I am looking for code similar to what Vbulletin and other forums use. It is the small banner/box that appears at the VERY top of the page thats says something like "Register Today."

    Actually, it may be some sort of Internet Explored code as well, as my windows system shows a default "alert" icon.

    Thanks in advance!
     
    Drew007, Apr 14, 2007 IP
  2. Coltz-One

    Coltz-One Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    
    <?php
    
    if(isset($HTTP_COOKIE_VARS["loggedin"]) != TRUE)
    {
    die ("<a href='register.php'>Register</a> today!");
    }
    
    ?>
    
    PHP:
    Now that's assuming when they log in you set a cookie called "loggedin".
     
    Coltz-One, Apr 14, 2007 IP