note 74248 added to function.checkdnsrr

From: Date: Sat, 31 Mar 2007 22:55:20 +0000
Subject: note 74248 added to function.checkdnsrr
Groups: php.notes 
Request: Send a blank email to php-notes+get-124982@lists.php.net to get a copy of this message
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; } } ---- Server IP: 194.145.210.4 Probable Submitter: 81.178.243.174 ---- Manual Page -- http://www.php.net/manual/en/function.checkdnsrr.php Edit -- https://master.php.net/note/edit/74248 Del: integrated -- https://master.php.net/note/delete/74248/integrated Del: useless -- https://master.php.net/note/delete/74248/useless Del: bad code -- https://master.php.net/note/delete/74248/bad+code Del: spam -- https://master.php.net/note/delete/74248/spam Del: non-english -- https://master.php.net/note/delete/74248/non-english Del: in docs -- https://master.php.net/note/delete/74248/in+docs Del: other reasons-- https://master.php.net/note/delete/74248 Reject -- https://master.php.net/note/reject/74248 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124982) next »