note 8953 added to curl_setopt
| From: | mbabcock at fibrespeed dot net | Date: | Mon, 09 Oct 2000 00:53:11 +0000 |
| Subject: | note 8953 added to curl_setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6225@lists.php.net to get a copy of this message | ||
Proxy functions from the CURL docs:<BR>
CURLOPT_PROXY<BR>
If you need libcurl to use a http proxy to access
the outside world, set the proxy string with this
option. The parameter should be a char * to a zero
terminated string. To specify port number in this
string, append":[port]" to the end of the host name.
The proxy string may be prefixed with "[proto
col]://" since any such prefix will be ignored.
<BR>
CURLOPT_PROXYPORT<BR>
Set this long with this option to set the proxy port
to use unless it is specified in the proxy string
CURLOPT_PROXY.
<BR>
CURLOPT_HTTPPROXYTUNNEL<BR>
Set the parameter to non-zero to get the library to
tunnel all non-HTTP operations through the given
HTTP proxy. Do note that there is a big difference
to use a proxy and to tunnel through it. If you
don't know what this means, you probably don't want
this tunnel option. (Added in libcurl 7.3)
http://www.php.net/manual/function.curl-setopt.php