note 75792 deleted from ref.simplexml by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:20:24 +0000 |
| Subject: | note 75792 deleted from ref.simplexml by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155522@lists.php.net to get a copy of this message | ||
Note Submitter: judas dot iscariote at gmail dot com
----
In response to webmaster at mavoric dot net comment.
It is a complete non-sense to use include() to retrieve an external RSS feed, remember that include
is intented to **parse and execute PHP code** and an RSS feed is, quite obivously, **not** PHP code.
people that wants to read external resources should use file_get_contents, fopen or an
SplFileObject, never **ever** use include() with remote resources.