+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Dyamic PHP sig.

  1. #1
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Dyamic PHP sig.

    I need a dynamic server status script.. I need it to be to ip 67.18.216.18 and port 43594 just a simple

    Server Status:ONLINE

    or

    Server Status:OFFLINE




    Paying 50 points

    Try to use the font Arial


    Please include the httacess to change it from php to png

    I have this so far.
    <?
    $ip = "67.18.216.18";
    $port = "43594";
    if (! $sock = @fsockopen($ip, $port, $num, $error, 5))
    echo '<B><FONT COLOR=red>Offline</b></FONT>';
    else{
    echo '<B><FONT COLOR=lime>Online</b></FONT>';
    fclose($sock);
    }
    ?>
    Needing it to be an image
    Last edited by Derek; 02-28-2008 at 05:41 PM.

  2. #2
    Synkc's Avatar
    Synkc is offline Lord Of The Keys Synkc is an unknown quantity at this point
    Join Date
    Jun 2007
    Location
    Hervey Bay, Australia
    Posts
    1,765

    Re: Dyamic PHP sig.

    Just replace:


    "<B><FONT COLOR=lime>Online</b></FONT>", with:


    <img src="/path/to/image.gif" width="width" height="height" />


    Just replace the bold text to suit your images.
    Last edited by Synkc; 02-28-2008 at 07:23 PM.
    E-mail: synkc[at]x10hosting[dot]com
    Hirokima.com

  3. #3
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: Dyamic PHP sig.

    No I want it like a PHP image like an image -_- get what I mean? Like a mapped PHP image.

  4. #4
    VPmase's Avatar
    VPmase is offline x10 Elder VPmase is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    Dixon, IL, USA
    Posts
    914

    Re: Dyamic PHP sig.

    Just save the .phps file and rename it to have a .php extension.
    http://saumpro.x10hosting.com/EsamTests/derek.phps
    http://saumpro.x10hosting.com/EsamTests/test_derek.html - Demo

  5. #5
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Dyamic PHP sig.

    if you are satisfied with an image similar in my signature, i can do that for you.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  6. #6
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: Dyamic PHP sig.

    Sunlis that's exactly what I mean except a simple transparent saying online and offline.

  7. #7
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Dyamic PHP sig.

    ok do you have the picture for it or do i need to design that for you.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  8. #8
    Fahad Guest

    Re: Dyamic PHP sig.

    ...imagestring()?
    That would actually be better, cause you can add stuff like server load time, which services are up, etc, etc, etc

  9. #9
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Dyamic PHP sig.

    why don't you just use http://mon.itor.us ?

  10. #10
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: Dyamic PHP sig.

    No just a plain black font that says Server Status: and red and green online and offline. Transparent background
    Last edited by Derek; 02-29-2008 at 04:50 PM.

+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers