Reply to Re: curl help

Your name:

Reply:


Posted by val on 10/19/49 11:19

Using fsockopen is not safe for real-life purposes: it may freeze the script for minutes. It's known bug and php has no control over it.

Curl has at least 3 different timeouts:

curl_setopt($ch, CURLOPT_TIMEOUT, TIMEOUT);
curl_setopt($ch, CURLOPT_DNS_CACHE_TIMEOUT, TIMEOUT);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, TIMEOUT);

Now you can search documentation for them if you don't understand what do they mean from their names.

Good luck

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация