Forum Moderators: coopster

Message Too Old, No Replies

libCurl Alternative?

         

XMLMania

12:32 pm on Nov 14, 2004 (gmt 0)

10+ Year Member



Hi,

I'm working on a large web cache, and the server I am using is limited in resources and using libcurl to get web pages is killing the servers performance.

The feature I most require is being able to read HTTP headers e.g. 302/301, I then need the script to continue to the new URL and get the page data.

Curl can do this via:

curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);

Is there any other function to do this?

coopster

1:17 pm on Nov 16, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



How about wget [gnu.org]?

XMLMania

2:26 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



lol :-)

Yeah, I thought of recently and all ready implemented it.

Cheers