+ Reply to Thread
Results 1 to 5 of 5

Thread: How to ping in PHP

  1. #1
    NaHoW is offline x10 Sophmore NaHoW is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    244

    Exclamation How to ping in PHP

    Is there a way to ping other sites with PHP? I need a script to show server statusses, so I thought to ping in PHP and show the results? Please help me!

  2. #2
    hcse26's Avatar
    hcse26 is offline x10Hosting Member hcse26 is an unknown quantity at this point
    Join Date
    Oct 2008
    Location
    Doha, Qatar / Muntinlupa City, Philippines
    Posts
    94

    Re: How to ping in PHP

    Well you can always search on Google for that. and Google actually gave me [most of the time] answers directly from my question.

    Try it

  3. #3
    DeadBattery's Avatar
    DeadBattery is offline Community Support Team DeadBattery is a name known to allDeadBattery is a name known to all
    Join Date
    Mar 2008
    Location
    localhost
    Posts
    4,019

    Re: How to ping in PHP

    Thread Moved to Programming Help
    I think the fsockopen() function might be what you are looking for.


  4. #4
    lordskid is offline x10Hosting Member lordskid is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    41

    Re: How to ping in PHP

    http://www.planet-source-code.com/vb...=1786&lngWId=8

    check this site I believe he has a solution for you.

  5. #5
    quantum1's Avatar
    quantum1 is offline x10Hosting Member quantum1 is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    near Nashville, TN
    Posts
    68

    Re: How to ping in PHP

    The link below also seems to be what you are looking for. It is a ping.php routine.

    http://www.greenbird.info/xantus-webdevelopment/ping
    Two rules of development:
    1) Computers work for people; People do not work for computers
    2) Maintainability is all that matters.

+ Reply to Thread

Similar Threads

  1. Ever Been Suspended For Using PHP?
    By dragoneye_xp in forum Off Topic
    Replies: 26
    Last Post: 08-16-2009, 07:17 PM
  2. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  3. currently have an application pending php
    By biomasti in forum Free Hosting
    Replies: 1
    Last Post: 09-03-2008, 01:58 PM
  4. Important PHP Information
    By Bryon in forum News and Announcements
    Replies: 0
    Last Post: 11-21-2007, 02:08 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