Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

libCurl Alternative?

   
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?

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

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



How about wget [gnu.org]?
2:26 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



lol :-)

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

Cheers