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 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    230
    Tokens
    0

    Default Would this be possible .... ?

    I'm not sure if anyone knows of a way to do it, but is it possible that I could alter a web page to have a picture appear / disappear at pre-set times without me having to do it manually. So for example, if I'm asleep but I want this picture to appear at 3 in the morning without waking up. Any thoughts ?

  2. #2
    Join Date
    Mar 2009
    Posts
    215
    Tokens
    0

    Default

    Try this:

    PHP Code:
    <?php
    $time 
    date('H:i');
    $time_start '19:00'// Time you want the picture displayed from.
    $time_end '21:00'// Time you want the picture to stop being displayed.
     
    if($time $time_start && $time $time_end) {
    ?>
    <img src="path/to/picture.png">
    <?php ?>
    That should get you started
    GeekSRV - UK Shared & Reseller Hosting Solutions.

Posting Permissions

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