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!


Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Egg Script

  1. #1
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default Egg Script

    Would there be a way to code a php script to change one image to another at 12 midnight on easter sunday for those egg things to not be a hassle because we had an idea of making one

    an egg to hatch to



    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:26 PM.
    EDTALKING


  2. #2
    Oni Guest

    Default

    Its easy you could even do it in flash..

  3. #3
    Ryan. Guest

    Default

    Ozzie you love flash innit :p

  4. #4
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Ryan. View Post
    Ozzie you love flash innit :p
    hes a flash guru
    EDTALKING


  5. #5
    Ryan. Guest

    Default

    Quote Originally Posted by :Edzy View Post
    hes a flash guru
    hmm are we going off topic as usual ..

    Anyway on topic..

    Anyone know how?

  6. #6
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Ryan. View Post
    hmm are we going off topic as usual ..

    Anyway on topic..

    Anyone know how?

    yer anyone wanna make me one or tell me the code?


    EDIT: and ozzie flash can't go in sigs inneht?
    EDTALKING


  7. #7
    Join Date
    Dec 2006
    Posts
    521
    Tokens
    0

    Default

    Date made. if date made = +12 hours echo new image. blerg

  8. #8
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Sygon.. View Post
    Date made. if date made = +12 hours echo new image. blerg
    yer can u put it together
    EDTALKING


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

    Latest Awards:

    Default

    Egg in your mouth, I hope you know where they come from?

    You could make it so you have 2 images saved on the server. At 12, run the cron job to copy the new image over the new one. Uses much less bandwidth rather than GD

  10. #10
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Simple PHP
    PHP Code:
    <?php
    $todayis 
    date("l, F j, Y") ;
    if(
    $todayis == "Sunday, April 8, 2007") {
    echo 
    "<img src=\"image.gif\">"//Image that appears on Easter Sunday
    } else {
    echo 
    "<img src=\"image.gif\">"//Image that will appear before easter Sunday
    }
    ?>
    Last edited by Drompo; 06-04-2007 at 01:24 PM.


Page 1 of 3 123 LastLast

Posting Permissions

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