Additional Info
Type
Package ID
aldo:cURL_fetch_web_data
First Created
December 21, 2008, 06:15:25 PM
Last Updated
May 21, 2009, 06:22:07 PM

cURL fetch_web_data v1.1.1

Make the fetch_web_data() use cURL instead
Compatible With 1.1.7, 1.1.8, 1.1.9, 2.0 Beta 4, 2.0 RC1, 2.0 RC1-1
Latest version v1.1.1
Downloads 3,653
Reviews 0
Rating 0/5
Subscribers 2
License (View License)
Author(s)
The function in Subs-Package.php fetch_web_data uses fsockopen() in order to obtain the data from the page specified. However not all hosts (usually free hosts) allow the usage of the fsockopen() function. 

So I have fixed that. This modification will allow the fetch_web_data(); function to use cURL to obtain the data instead. 

Of course not all hosts support cURL, but most hosts with PHP5 do have cURL installed. But don't worry, if your host doesn't support cURL but does fsockopen it will use fsockopen instead, but if thats the case you don't really need this mod.

NOTE: If you have no troubles downloading packages from external servers or getting SMF news data and such you don't need this mod as this is really a fix for servers that support cURL but have problems downloading packages and such.

Changelog:

  • 1.1.1 - Added support for SMF 2.0 RC1-1 (Not much changed)
  • 1.1 - Added support for SMF 2.0 RC1
  • 1.0 - Initially added
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: