homepage Welcome to WebmasterWorld Guest from 54.145.183.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
libCurl Alternative?
XMLMania

10+ Year Member



 
Msg#: 5734 posted 12:32 pm on Nov 14, 2004 (gmt 0)

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

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



 
Msg#: 5734 posted 1:17 pm on Nov 16, 2004 (gmt 0)

How about wget [gnu.org]?

XMLMania

10+ Year Member



 
Msg#: 5734 posted 2:26 pm on Nov 16, 2004 (gmt 0)

lol :-)

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

Cheers

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved