note 93679 added to function.file-get-contents

From: Date: Tue, 22 Sep 2009 17:17:58 +0000
Subject: note 93679 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-160944@lists.php.net to get a copy of this message
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. ---- Server IP: 208.69.120.35 Probable Submitter: 208.125.103.202 ---- Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/93679 Del: integrated -- https://master.php.net/note/delete/93679/integrated Del: useless -- https://master.php.net/note/delete/93679/useless Del: bad code -- https://master.php.net/note/delete/93679/bad+code Del: spam -- https://master.php.net/note/delete/93679/spam Del: non-english -- https://master.php.net/note/delete/93679/non-english Del: in docs -- https://master.php.net/note/delete/93679/in+docs Del: other reasons-- https://master.php.net/note/delete/93679 Reject -- https://master.php.net/note/reject/93679 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160944) next »