note 8953 modified in function.curl-setopt by philip

From: Date: Fri, 01 Feb 2002 06:30:43 +0000
Subject: note 8953 modified in function.curl-setopt by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26117@lists.php.net to get a copy of this message
Proxy functions from the CURL docs: CURLOPT_PROXY 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. CURLOPT_PROXYPORT Set this long with this option to set the proxy port to use unless it is specified in the proxy string CURLOPT_PROXY. CURLOPT_HTTPPROXYTUNNEL 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) --was-- 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/en/function.curl-setopt.php

« previous php.notes (#26117) next »