Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default Non-firefox message

    Does anyone know how to display a message if the visitor is not using Firefox, like on www.thybag.co.uk.

    Thanks!

    Edited by Lµke (Forum Moderator): Thread Moved From Website Designing. Please post in the correct section next time, Thanks .
    Last edited by Lµke; 06-04-2007 at 04:20 PM.


  2. #2
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    Ask Carl yourself?
    Quote Originally Posted by cattivo View Post
    Does anyone know how to display a message if the visitor is not using Firefox, like on www.thybag.co.uk.

    Thanks!

  3. #3
    Join Date
    Mar 2007
    Posts
    364
    Tokens
    0

    Default

    I Need that too but to show it to FF Useres lol.
    Left
    xxx


  4. #4
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    You want something like this...

    PHP Code:
    <?php
    $agent 
    $_SERVER['HTTP_USER_AGENT'];

    if (
    eregi('firefox'$agent){
    print(
    "Hello Firefox user...");
    }
    else{
    print(
    "Hello non-Firefox user...");
    }
    ?>

  5. #5
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default

    He isn't replying to PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •