I want to build a ping tool same as wordpress by php script.

Please give me script it.

Thank so much!