note 74248 deleted from function.checkdnsrr by philip

From: Date: Sun, 01 Apr 2007 09:43:59 +0000
Subject: note 74248 deleted from function.checkdnsrr by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124997@lists.php.net to get a copy of this message
Note Submitter: mwnciau at hotmail dot com ---- A work-around if your on a Windows server and you can't run system commands. Might take a while if the pages are big. if(!function_exists('checkdnsrr')){ function checkdnsrr($host){ return (strlen(@file_get_contents($host)) > 0) ? true : false; } }

« previous php.notes (#124997) next »