tags:

views:

82

answers:

2

I am trying to proxy through php for a JS RSS feed. The company I am doing this for may or may not want cURL installed. If that is the case I may need some sort of library that can simply be included in php rather than go through apache and all of that. Is there a library that can handle something like that? What other options do I have in this case?

Thanks!

A: 

wget, fopen, and file_get_contents are other options you can use to use for a proxy.

CodeJoust
and `file_get_contents`
Ben James
file_get_contents is an easier way to use fopen, but, yes, that is an option.
CodeJoust
@CodeJoust: file_get_contents is not the same as using fopen. "file_get_contents() is the preferred way to read the contents of a file into a string. It will use memory mapping techniques if supported by your OS to enhance performance."
Alix Axel
+3  A: 

Zend_HTTP provides a wrapper for fopen, file_get_contents and CURL out of the box, it makes it much more simpler to store / read cookies, make POST requests and so on.

Alix Axel