note 88878 deleted from function.file-get-contents by danbrown
| From: | danbrown@php.net | Date: | Thu, 12 Feb 2009 00:10:37 +0000 |
| Subject: | note 88878 deleted from function.file-get-contents by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150523@lists.php.net to get a copy of this message | ||
Note Submitter: tuborg2645 at gmail dot com
----
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