note 88878 added to function.file-get-contents

From: Date: Wed, 11 Feb 2009 23:39:33 +0000
Subject: note 88878 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-150521@lists.php.net to get a copy of this message
Response to anotheruser at example dot com 27-Aug-2008 04:19 If you simply want to get the output from an offsite php file, file_get_contents() will do fine. Since most hosts will disable the use of URL file-access when you include files, you will get a warning like the below if using the wrapped. Warning: include() [function.include]: URL file-access is disabled in the server configuration in /customers/yoursite.net/yoursite.net/httpd.www/youfile.php on line 19 ---- Server IP: 69.147.83.197 Probable Submitter: 87.55.74.5 ---- Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/88878 Del: integrated -- https://master.php.net/note/delete/88878/integrated Del: useless -- https://master.php.net/note/delete/88878/useless Del: bad code -- https://master.php.net/note/delete/88878/bad+code Del: spam -- https://master.php.net/note/delete/88878/spam Del: non-english -- https://master.php.net/note/delete/88878/non-english Del: in docs -- https://master.php.net/note/delete/88878/in+docs Del: other reasons-- https://master.php.net/note/delete/88878 Reject -- https://master.php.net/note/reject/88878 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#150521) next »