Ping a website with php

hanliong's Avatar, Join Date: Dec 2007
Light Poster

i create a website where people can put their URL address.
But, i don't know if that URL is live website or not. How can i check it with PHP? I think, it something like PING.

And how to check automatically that the site is adult content or not? Can i do that with PHP?
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Ping in PHP:

The Platform for Internet Content Selection (PICS) is a specification created by W3C that uses metadata to label webpages to help parents and teachers control what children and students can access on the Internet. The W3C Protocol for Web Description Resources project integrates PICS concepts with RDF.