Monday, March 25, 2013

PHP + cURL RSS Parser

Using cURL (Client URL Library) is the best option that can be used when setting allow_url_fopen is set to off.
allow_url_fopen Off
When setting allow_url_fopen is set off, it will not be able to use fopen to open and read the Rss Feed from another URL. So how to outsmart?
Use PHP CURL, and the following code snippet to read the Rss Feed. Below is example of how to use the function above: Hopefully this PHP rss parser example helpful for you to create your own php rss reader.

Do you want to share?

Do you like this story?

No comments:

Post a Comment