1 (edited by wickerman 2007-02-03 06:42)

Topic: How do you Curl this code?

$feeds = array ('0' => array('title' => 'CNN Technology', 'feed' =>('http://rss.cnn.com/rss/cnn_tech.rss')))

I get the message "url file access is disabled in server" with Dreamhost, so the only option is to use "curl" But, I couldn't figure it out how to curl the above code.

P.S. This is part of AJAX RSS reader.

Re: How do you Curl this code?

Is not that code that you need to change.... you need to replace the file() or file_get_contents() function somewhere on the parser code.

http://wiki.dreamhost.com/index.php/CURL

I suggest though, you use magpie instead, it uses curl from the beginning.