Originally Posted by radekhulan
Create a simple table with URL, query time and its status. When query time is older than (e.g.) one week, try to get URL headers via http://us.php.net/manual/en/function.get-headers.php
He want's a client-side function to see if the client can access the page, not the webserver serving the content.