note 93679 deleted from function.file-get-contents by danbrown

From: Date: Tue, 22 Sep 2009 18:52:00 +0000
Subject: note 93679 deleted from function.file-get-contents by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160947@lists.php.net to get a copy of this message
Note Submitter: ben at adworkshop dot com ---- DNS internet review! Who is the client for this get request? What DNS is this client looking at? Does the domain name you're requesting EXIST on this DNS. Ran into an interesting issue testing today. On a development server testing a new site we had a zone file set up which DID NOT include the "dev." sub domain. Requesting pages via the get_file_contents function returned a 500 error, as the DNS could not resolve the sub domain. Remember, the "client" for this request is the web server that is running PHP.

« previous php.notes (#160947) next »