PHP, CURLOPT_TIMEOUT help!
    ~
Advanced Hosters -

IseeDeadPeople
: 06.12.2005
: 18000
# : 10, 2009 10:49 pm

"curl_setopt($ch, CURLOPT_TIMEOUT, 1);"
1 . ?
http://m.lsl.com/

creator123
: 25.07.2007
: 1146
# : 10, 2009 11:16 pm

?
<----- , <-----

IseeDeadPeople
: 06.12.2005
: 18000
# : 13, 2009 8:35 pm
:
, (, - $ch = curl_init($url) ; ... $r = curl_exec($ch) ; ) () .. 200 404 ?
http://m.lsl.com/

Sterx +
: 08.10.2007
: 252
# : 14, 2009 12:04 am
curl_setopt($ch, CURLOPT_HEADER, 1);
50%

ctapbiu
: 06.01.2008
: 328
# : 14, 2009 3:08 am
IseeDeadPeople ():
:
, (, - $ch = curl_init($url) ; ... $r = curl_exec($ch) ; ) () .. 200 404 ?



http://php.net/manual/ru/function.curl-getinfo.php

IseeDeadPeople
: 06.12.2005
: 18000
# : 14, 2009 11:08 pm
Sterx ():
curl_setopt($ch, CURLOPT_HEADER, 1);



"curl_setopt($ch, CURLOPT_HEADER, 1);"
"$content = curl_exec($ch) ;" ,
$content ?
? .. ?
, / ?

, "$content = curl_exec($ch) ;"
, - ? . ( if(!curl_errno($ch)) ) (~ "curl_exec")? ?

.
http://m.lsl.com/

Sterx +
: 08.10.2007
: 252
# : 14, 2009 11:29 pm
php5

$curl->getContent()

_http://phpdude.ru/archives/466
50%
    ~