note 33773 added to ref.curl

From: Date: Mon, 07 Jul 2003 14:38:42 +0000
Subject: note 33773 added to ref.curl
Groups: php.notes 
Request: Send a blank email to php-notes+get-51630@lists.php.net to get a copy of this message
I managed to use curl to retrieve information from severs on ports other than 80 or 443 (for https) on some installations but not on all. If you get an "CURLE_COULDNT_CONNECT /* 7 */" error, try adding the port : (for example) curl_setopt($ch, CURLOPT_PORT, $_SERVER['SERVER_PORT']); ---- Manual Page -- http://www.php.net/manual/en/ref.curl.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33773 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33773&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33773&report=yes

« previous php.notes (#51630) next »