Jump to content

cURL question


Minase

Recommended Posts

if you dont need the body of the response, a good setting to set to true is CURLOPT_NOBODY, however i think since you are downloading webpages that might not be useful. try it, but other than that i think it has to do with your server's internet connection, and that of the sites you are downloading from. without much more detail from you thats all i can think of.

Link to comment
https://forums.phpfreaks.com/topic/187626-curl-question/#findComment-990602
Share on other sites

The best way to increase the performance of your script if you're using curl is to use multicurl. I found a very useful class which I was able to implement into my scripts at http://www.phpclasses.org/browse/package/4091.html the only thing you can do with it is to load multiple pages though. If you need to do something else like load, pregmatch, and then load again then you will have to modify this class yourself. I haven't figured out how to do that myself yet...

Link to comment
https://forums.phpfreaks.com/topic/187626-curl-question/#findComment-990614
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.