[rel]Page that shows loader when online/text when offline!

Results 1 to 16 of 16
  1. #1
    Valued Member kaasmaniak is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    100Posts

    [rel]Page that shows loader when online/text when offline!

    Hello I've created a script that only shows loader
    when your hotel is online.

    When the hotel is offline it shows text.



    Code:
    <?php
        $server=Your IP:Your Port';
        $split=explode(':',$server);
        $ip=$split[0];
        $port=(empty($split[1]))?'Your Port':$split[1];
        $server=$ip.':'.$port;
    
    $fp = @fsockopen($ip, $port, $errno, $errstr, 1);
    if($fp){         
        include 'link to loader';
        fclose($fp);
    }
    else{
        echo 'Offline Text';
    }
    ?>

    How to make it work?
    1. Put it in the same folder as your loader!
    2. Make sure to save as .php extenstion
    3. Change "
    your ip & your port" to your ip and port numbers.
    4. Change "
    link to loader" to the name of the loader.
    (not the whole link just "loader.html" etc.
    5. Change "
    offline text" to the text you want to show.

    Now it should work!


    Can't get it to work?
    Post it here or send me a PM.

    Greetings,

    KaasManiak
    :fish2:


  2. #2
    Account Upgraded | Title Enabled! Cell is offline
    MemberRank
    Sep 2007 Join Date
    UK, ScotlandLocation
    450Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Useless...

  3. #3
    Valued Member kaasmaniak is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    100Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Quote Originally Posted by Cell View Post
    Useless...
    Why useless?

    Post something that's helpfull or keep quiet!

  4. #4
    Instanthost.org username is offline
    MemberRank
    Oct 2007 Join Date
    Hull, EnglandLocation
    1,163Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Well one thing is that people would have to keep changing the ip coz ur ip changes everytime ur internet connection restarts! So it is ok for the noip.com users!!! Good release but i wont use it. Thanks username

  5. #5
    Valued Member kaasmaniak is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    100Posts

    Re: [rel]Page that shows loader when online/text when offline!

    My ip doesnt change...

    So your saying you have to change the ip in your loader every time internet restarts?

  6. #6
    Account Upgraded | Title Enabled! Dj-FaiL is offline
    MemberRank
    Sep 2007 Join Date
    єη-gєя-ℓαη∂!Location
    349Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Nice release!

    By you, or a find?

  7. #7
    Valued Member kaasmaniak is offline
    MemberRank
    Apr 2007 Join Date
    NetherlandsLocation
    100Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Quote Originally Posted by Dj-FaiL View Post
    Nice release!

    By you, or a find?
    A little bit found, a little bit by myself

  8. #8
    Alpha Member Ruhani is offline
    MemberRank
    Jun 2007 Join Date
    127.0.0.1 ^^Location
    1,970Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Simple PHP Code Pretty User Freindly ;)

  9. #9
    Twinkies are nice. Stopthattwinkie is offline
    MemberRank
    Feb 2007 Join Date
    In your fridge.Location
    509Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Easy way, steal it from Radio Stats :)

  10. #10
    Account Upgraded | Title Enabled! PR0 is offline
    MemberRank
    Mar 2007 Join Date
    1,206Posts

    Re: [rel]Page that shows loader when online/text when offline!

    o cool

  11. #11
    Instanthost.org username is offline
    MemberRank
    Oct 2007 Join Date
    Hull, EnglandLocation
    1,163Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Pretty good, if you use hamachi -.-!!!!! thanks username.

  12. #12
    Account Upgraded | Title Enabled! nuno.cards is offline
    MemberRank
    Jun 2007 Join Date
    Home ^^Location
    322Posts

    Re: [rel]Page that shows loader when online/text when offline!

    WOW it's Works?

  13. #13
    The Omega Superfun is offline
    MemberRank
    Dec 2006 Join Date
    The NetherlandsLocation
    5,223Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Quote Originally Posted by username View Post
    Pretty good, if you use hamachi -.-!!!!! thanks username.
    If you use ham?,
    You can use it too normal

  14. #14
    Proficient Member miketc is offline
    MemberRank
    Mar 2008 Join Date
    ukLocation
    171Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Nice i carnt use it as i dont have the Php Provider as im using Piczo Atm but can u PM me if im allowed to put ur Thread linked on my new Big Retro LIst? Thank you.

  15. #15
    Alpha Member Kohaul is offline
    MemberRank
    May 2007 Join Date
    CanadaLocation
    1,838Posts

    Re: [rel]Page that shows loader when online/text when offline!

    Nice Release.. but im not Gunna Use.. 5/10

  16. #16

    Re: [rel]Page that shows loader when online/text when offline!

    MY IP CHANGES i dno y but it does so its useless 2 me



Advertisement