[quote]I’ve read the wiki to find an alternative to URL access; I tried the cURL alternative, I still can’t get it to work.
I’m not a PHP coder and I’m trying to do one of those “lifestream” pages (basically, an RSS aggregator). [/quote]
Here is a very basic use of curl to read URL contents. I use this to pull XML from a url and pass it to a DOM object among other purposes. I didn’t look at your specific code and situtation, but you should be able to just place this function in the page or code that needs it, or create a file to include in each piece of code that needs it. Sorry, it isn’t in an object class, but really isn’t complicated enough to need it either.
$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
// return the results
[/code]Call this in the format of
$xml = get_url_contents(“http://www.someurl.com”)
find/offer services free
Codes:THNMax ($97) THNMaxHDD (+100%) THNMaxBW (+100% txfr) THNMaxDomains (5 free) THNBalance (20% HD&BW, 1 Domain+IP +$16)