My "Online" Checking Sig Script

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

  1. TeenDev
    OP

    TeenDev GBAtemp's Original Hipster

    Member
    633
    0
    Apr 29, 2007
    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

    Joey90 Not around any more

    Member
    703
    0
    Apr 21, 2007
    UK
    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

    TeenDev GBAtemp's Original Hipster

    Member
    633
    0
    Apr 29, 2007
    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

    Joey90 Not around any more

    Member
    703
    0
    Apr 21, 2007
    UK
    Fair enough [​IMG]
     
  5. Toni Plutonij

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

    Former Staff
    8,153
    314
    Dec 22, 2007
    Croatia
    Depths of Nuclear powerplant
    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

    alex GBAtemp Advanced Maniac

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

    TeenDev GBAtemp's Original Hipster

    Member
    633
    0
    Apr 29, 2007
    United States
    I turn my modem off when I am done though...
     
  8. Frederica Bernkastel

    Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Member
    GBAtemp Patron
    Frederica Bernkastel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    3,154
    765
    Jan 31, 2008
    United Kingdom
    Hinamizawa
    Oooh, I'm gonna use this to see if my websites on... and if Dstemp is on! YAY!
    Thanks!