开发者

Is there a PHP library equivalent to cURL that does not need to be installed?

开发者 https://www.devze.com 2022-12-10 07:52 出处:网络
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

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 hand开发者_C百科le something like that? What other options do I have in this case?

Thanks!


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消