My "Online" Checking Sig Script

Discussion in 'GBAtemp Art Studio' started by TeenDev, Aug 6, 2008.

Aug 6, 2008
  1. TeenDev
    OP

    Member TeenDev GBAtemp's Original Hipster

    Joined:
    Apr 29, 2007
    Messages:
    633
    Country:
    United States
    I made a script that checks if I am connected to the internet. It will switch the image from offline to online and visa versa depending on whether my static IP is active or not. You can also do this to check if a server is online.

    I'm going to share the code with you to show you how to do it.

    You NEED a server running PHP 4 at least.
    You may also need to be running Apache.

    CODE
     
  2. Joey90

    Member Joey90 Not around any more

    Joined:
    Apr 21, 2007
    Messages:
    703
    Location:
    UK
    Country:
    United Kingdom
    That's pretty cool!

    Though if someone was really bothered they could check the 'who's online' bit at the bottom of the forums page.
     
  3. TeenDev
    OP

    Member TeenDev GBAtemp's Original Hipster

    Joined:
    Apr 29, 2007
    Messages:
    633
    Country:
    United States
    It checks if you are connected to the internet, not if you are on GBAtemp. Someone could see that you're not on GBAtemp but that you are still online. Maybe the person is on Xbox live or something?
     
  4. Joey90

    Member Joey90 Not around any more

    Joined:
    Apr 21, 2007
    Messages:
    703
    Location:
    UK
    Country:
    United Kingdom
    Fair enough [​IMG]
     
  5. Toni Plutonij

    Former Staff Toni Plutonij *has TrolleyDave & tiny p1ngy on moderating shelf!

    Joined:
    Dec 22, 2007
    Messages:
    8,153
    Location:
    Depths of Nuclear powerplant
    Country:
    Croatia
    Wow.....great work, I don't have such skills.....But I could make some amazing sigs, and ask you to make them dynamic like that for me?!?!?!
    Maybe once...
     
  6. alex

    Member alex GBAtemp Advanced Maniac

    Joined:
    Jul 1, 2008
    Messages:
    1,657
    Country:
    United States
    Cool! *steals*
    But my internet is 24/7 connection. Always on.
     
  7. TeenDev
    OP

    Member TeenDev GBAtemp's Original Hipster

    Joined:
    Apr 29, 2007
    Messages:
    633
    Country:
    United States
    I turn my modem off when I am done though...
     
  8. Frederica Bernkastel

    Member Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Joined:
    Jan 31, 2008
    Messages:
    3,145
    Location:
    Hinamizawa
    Country:
    United Kingdom
    Oooh, I'm gonna use this to see if my websites on... and if Dstemp is on! YAY!
    Thanks!
     

Share This Page