(PHP 4 >= 4.0.2, PHP 5, PHP 7)

curl_setoptSet an option for a cURL transfer


bool curl_setopt ( resource $ch , int $option , mixed $value )

Sets an option on the given cURL session handle.



Un handle cURL întors de curl_init().


The CURLOPT_XXX option to set.


The value to be set on option.

value should be a bool for the following values of the option parameter:

Option Set value to Notes
CURLOPT_AUTOREFERER TRUE to automatically set the Referer: field in requests where it follows a Location: redirect.
CURLOPT_BINARYTRANSFER TRUE to return the raw output when CURLOPT_RETURNTRANSFER is used. From PHP 5.1.3, this option has no effect: the raw output will always be returned when CURLOPT_RETURNTRANSFER is used.
CURLOPT_COOKIESESSION TRUE to mark this as a new cookie "session". It will force libcurl to ignore all cookies it is about to load that are "session cookies" from the previous session. By default, libcurl always stores and loads all cookies, independent if they are session cookies or not. Session cookies are cookies without expiry date and they are meant to be alive and existing for this "session" only.
CURLOPT_CERTINFO TRUE to output SSL certification information to STDERR on secure transfers. Added in cURL 7.19.1. Available since PHP 5.3.2. Requires CURLOPT_VERBOSE to be on to have an effect.
CURLOPT_CONNECT_ONLY TRUE tells the library to perform all the required proxy authentication and connection setup, but no data transfer. This option is implemented for HTTP, SMTP and POP3. Added in 7.15.2. Available since PHP 5.5.0.
CURLOPT_CRLF TRUE to convert Unix newlines to CRLF newlines on transfers.
CURLOPT_DNS_USE_GLOBAL_CACHE TRUE to use a global DNS cache. This option is not thread-safe and is enabled by default.
CURLOPT_FAILONERROR TRUE to fail verbosely if the HTTP code returned is greater than or equal to 400. The default behavior is to return the page normally, ignoring the code.
CURLOPT_SSL_FALSESTART TRUE to enable TLS false start. Added in cURL 7.42.0. Available since PHP 7.0.7.
CURLOPT_FILETIME TRUE to attempt to retrieve the modification date of the remote document. This value can be retrieved using the CURLINFO_FILETIME option with curl_getinfo().
CURLOPT_FOLLOWLOCATION TRUE to follow any "Location: " header that the server sends as part of the HTTP header (note this is recursive, PHP will follow as many "Location: " headers that it is sent, unless CURLOPT_MAXREDIRS is set).
CURLOPT_FORBID_REUSE TRUE to force the connection to explicitly close when it has finished processing, and not be pooled for reuse.
CURLOPT_FRESH_CONNECT TRUE to force the use of a new connection instead of a cached one.
CURLOPT_FTP_USE_EPRT TRUE to use EPRT (and LPRT) when doing active FTP downloads. Use FALSE to disable EPRT and LPRT and use PORT only.
CURLOPT_FTP_USE_EPSV TRUE to first try an EPSV command for FTP transfers before reverting back to PASV. Set to FALSE to disable EPSV.
CURLOPT_FTP_CREATE_MISSING_DIRS TRUE to create missing directories when an FTP operation encounters a path that currently doesn't exist.
CURLOPT_FTPAPPEND TRUE to append to the remote file instead of overwriting it.
CURLOPT_TCP_NODELAY TRUE to disable TCP's Nagle algorithm, which tries to minimize the number of small packets on the network. Available since PHP 5.2.1 for versions compiled with libcurl 7.11.2 or greater.
CURLOPT_FTPLISTONLY TRUE to only list the names of an FTP directory.
CURLOPT_HEADER TRUE to include the header in the output.
CURLINFO_HEADER_OUT TRUE to track the handle's request string. Available since PHP 5.1.3. The CURLINFO_ prefix is intentional.
CURLOPT_HTTPGET TRUE to reset the HTTP request method to GET. Since GET is the default, this is only necessary if the request method has been changed.
CURLOPT_HTTPPROXYTUNNEL TRUE to tunnel through a given HTTP proxy.
CURLOPT_MUTE TRUE to be completely silent with regards to the cURL functions. Removed in cURL 7.15.5 (You can use CURLOPT_RETURNTRANSFER instead)
CURLOPT_NETRC TRUE to scan the ~/.netrc file to find a username and password for the remote site that a connection is being established with.
CURLOPT_NOBODY TRUE to exclude the body from the output. Request method is then set to HEAD. Changing this to FALSE does not change it to GET.

TRUE to disable the progress meter for cURL transfers.


PHP automatically sets this option to TRUE, this should only be changed for debugging purposes.

CURLOPT_NOSIGNAL TRUE to ignore any cURL function that causes a signal to be sent to the PHP process. This is turned on by default in multi-threaded SAPIs so timeout options can still be used. Added in cURL 7.10.
CURLOPT_PATH_AS_IS TRUE to not handle dot dot sequences. Added in cURL 7.42.0. Available since PHP 7.0.7.
CURLOPT_PIPEWAIT TRUE to wait for pipelining/multiplexing. Added in cURL 7.43.0. Available since PHP 7.0.7.
CURLOPT_POST TRUE to do a regular HTTP POST. This POST is the normal application/x-www-form-urlencoded kind, most commonly used by HTML forms.
CURLOPT_RETURNTRANSFER TRUE to return the transfer as a string of the return value of curl_exec() instead of outputting it out directly.
CURLOPT_SAFE_UPLOAD TRUE to disable support for the @ prefix for uploading files in CURLOPT_POSTFIELDS, which means that values starting with @ can be safely passed as fields. CURLFile may be used for uploads instead. Added in PHP 5.5.0 with FALSE as the default value. PHP 5.6.0 changes the default value to TRUE. PHP 7 removes this option; the CURLFile interface must be used to upload files.
CURLOPT_SASL_IR TRUE to enable sending the initial response in the first packet. Added in cURL 7.31.10. Available since PHP 7.0.7.
CURLOPT_SSL_ENABLE_ALPN FALSE to disable ALPN in the SSL handshake (if the SSL backend libcurl is built to use supports it), which can be used to negotiate http2. Added in cURL 7.36.0. Available since PHP 7.0.7.
CURLOPT_SSL_ENABLE_NPN FALSE to disable NPN in the SSL handshake (if the SSL backend libcurl is built to use supports it), which can be used to negotiate http2. Added in cURL 7.36.0. Available since PHP 7.0.7.
CURLOPT_SSL_VERIFYPEER FALSE to stop cURL from verifying the peer's certificate. Alternate certificates to verify against can be specified with the CURLOPT_CAINFO option or a certificate directory can be specified with the CURLOPT_CAPATH option. TRUE by default as of cURL 7.10. Default bundle installed as of cURL 7.10.
CURLOPT_SSL_VERIFYSTATUS TRUE to verify the certificate's status. Added in cURL 7.41.0. Available since PHP 7.0.7.
CURLOPT_TCP_FASTOPEN TRUE to enable TCP Fast Open. Added in cURL 7.49.0. Available since PHP 7.0.7.
CURLOPT_TFTP_NO_OPTIONS TRUE to not send TFTP options requests. Added in cURL 7.48.0. Available since PHP 7.0.7.
CURLOPT_TRANSFERTEXT TRUE to use ASCII mode for FTP transfers. For LDAP, it retrieves data in plain text instead of HTML. On Windows systems, it will not set STDOUT to binary mode.
CURLOPT_UNRESTRICTED_AUTH TRUE to keep sending the username and password when following locations (using CURLOPT_FOLLOWLOCATION), even when the hostname has changed.
CURLOPT_UPLOAD TRUE to prepare for an upload.
CURLOPT_VERBOSE TRUE to output verbose information. Writes output to STDERR, or the file specified using CURLOPT_STDERR.

value should be an integer for the following values of the option parameter:

Option Set value to Notes
CURLOPT_BUFFERSIZE The size of the buffer to use for each read. There is no guarantee this request will be fulfilled, however. Added in cURL 7.10.


This option is deprecated, as it was never implemented in cURL and never had any effect.

Removed in PHP 5.6.0.
CURLOPT_CONNECTTIMEOUT The number of seconds to wait while trying to connect. Use 0 to wait indefinitely.
CURLOPT_CONNECTTIMEOUT_MS The number of milliseconds to wait while trying to connect. Use 0 to wait indefinitely. If libcurl is built to use the standard system name resolver, that portion of the connect will still use full-second resolution for timeouts with a minimum timeout allowed of one second. Added in cURL 7.16.2. Available since PHP 5.2.3.
CURLOPT_DNS_CACHE_TIMEOUT The number of seconds to keep DNS entries in memory. This option is set to 120 (2 minutes) by default.
CURLOPT_EXPECT_100_TIMEOUT_MS The timeout for Expect: 100-continue responses in milliseconds. Defaults to 1000 milliseconds. Added in cURL 7.36.0. Available since PHP 7.0.7.
CURLOPT_FTPSSLAUTH The FTP authentication method (when is activated): CURLFTPAUTH_SSL (try SSL first), CURLFTPAUTH_TLS (try TLS first), or CURLFTPAUTH_DEFAULT (let cURL decide). Added in cURL 7.12.2.
CURLOPT_HEADEROPT How to deal with headers. One of the following constants: CURLHEADER_UNIFIED: the headers specified in CURLOPT_HTTPHEADER will be used in requests both to servers and proxies. With this option enabled, CURLOPT_PROXYHEADER will not have any effect. CURLHEADER_SEPARATE: makes CURLOPT_HTTPHEADER headers only get sent to a server and not to a proxy. Proxy headers must be set with CURLOPT_PROXYHEADER to get used. Note that if a non-CONNECT request is sent to a proxy, libcurl will send both server headers and proxy headers. When doing CONNECT, libcurl will send CURLOPT_PROXYHEADER headers only to the proxy and then CURLOPT_HTTPHEADER headers only to the server. Defaults to CURLHEADER_SEPARATE as of cURL 7.42.1, and CURLHEADER_UNIFIED before. Added in cURL 7.37.0. Available since PHP 7.0.7.
CURLOPT_HTTP_VERSION CURL_HTTP_VERSION_NONE (default, lets CURL decide which version to use), CURL_HTTP_VERSION_1_0 (forces HTTP/1.0), or CURL_HTTP_VERSION_1_1 (forces HTTP/1.1).


The bitwise | (or) operator can be used to combine more than one method. If this is done, cURL will poll the server to see what methods it supports and pick the best one.



CURLOPT_INFILESIZE The expected size, in bytes, of the file when uploading a file to a remote site. Note that using this option will not stop libcurl from sending more data, as exactly what is sent depends on CURLOPT_READFUNCTION.
CURLOPT_LOW_SPEED_LIMIT The transfer speed, in bytes per second, that the transfer should be below during the count of CURLOPT_LOW_SPEED_TIME seconds before PHP considers the transfer too slow and aborts.
CURLOPT_LOW_SPEED_TIME The number of seconds the transfer speed should be below CURLOPT_LOW_SPEED_LIMIT before PHP considers the transfer too slow and aborts.
CURLOPT_MAXCONNECTS The maximum amount of persistent connections that are allowed. When the limit is reached, CURLOPT_CLOSEPOLICY is used to determine which connection to close.
CURLOPT_MAXREDIRS The maximum amount of HTTP redirections to follow. Use this option alongside CURLOPT_FOLLOWLOCATION.
CURLOPT_PORT An alternative port number to connect to.
CURLOPT_POSTREDIR A bitmask of 1 (301 Moved Permanently), 2 (302 Found) and 4 (303 See Other) if the HTTP POST method should be maintained when CURLOPT_FOLLOWLOCATION is set and a specific type of redirect occurs. Added in cURL 7.19.1. Available since PHP 5.3.2.

Bitmask of CURLPROTO_* values. If used, this bitmask limits what protocols libcurl may use in the transfer. This allows you to have a libcurl built to support a wide range of protocols but still limit specific transfers to only be allowed to use a subset of them. By default libcurl will accept all protocols it supports. See also CURLOPT_REDIR_PROTOCOLS.


Added in cURL 7.19.4.
CURLOPT_PROXYAUTH The HTTP authentication method(s) to use for the proxy connection. Use the same bitmasks as described in CURLOPT_HTTPAUTH. For proxy authentication, only CURLAUTH_BASIC and CURLAUTH_NTLM are currently supported. Added in cURL 7.10.7.
CURLOPT_PROXYPORT The port number of the proxy to connect to. This port number can also be set in CURLOPT_PROXY.
CURLOPT_REDIR_PROTOCOLS Bitmask of CURLPROTO_* values. If used, this bitmask limits what protocols libcurl may use in a transfer that it follows to in a redirect when CURLOPT_FOLLOWLOCATION is enabled. This allows you to limit specific transfers to only be allowed to use a subset of protocols in redirections. By default libcurl will allow all protocols except for FILE and SCP. This is a difference compared to pre-7.19.4 versions which unconditionally would follow to all protocols supported. See also CURLOPT_PROTOCOLS for protocol constant values. Added in cURL 7.19.4.
CURLOPT_RESUME_FROM The offset, in bytes, to resume a transfer from.
CURLOPT_SSL_OPTIONS Set SSL behavior options, which is a bitmask of any of the following constants: CURLSSLOPT_ALLOW_BEAST: do not attempt to use any workarounds for a security flaw in the SSL3 and TLS1.0 protocols. CURLSSLOPT_NO_REVOKE: disable certificate revocation checks for those SSL backends where such behavior is present. Added in cURL 7.25.0. Available since PHP 7.0.7.
CURLOPT_SSL_VERIFYHOST 1 to check the existence of a common name in the SSL peer certificate. 2 to check the existence of a common name and also verify that it matches the hostname provided. 0 to not check the names. In production environments the value of this option should be kept at 2 (default value). Support for value 1 removed in cURL 7.28.1.


Your best bet is to not set this and let it use the default. Setting it to 2 or 3 is very dangerous given the known vulnerabilities in SSLv2 and SSLv3.

CURLOPT_STREAM_WEIGHT Set the numerical stream weight (a number between 1 and 256). Added in cURL 7.46.0. Available since PHP 7.0.7.
CURLOPT_TIMECONDITION How CURLOPT_TIMEVALUE is treated. Use CURL_TIMECOND_IFMODSINCE to return the page only if it has been modified since the time specified in CURLOPT_TIMEVALUE. If it hasn't been modified, a "304 Not Modified" header will be returned assuming CURLOPT_HEADER is TRUE. Use CURL_TIMECOND_IFUNMODSINCE for the reverse effect. CURL_TIMECOND_IFMODSINCE is the default.
CURLOPT_TIMEOUT The maximum number of seconds to allow cURL functions to execute.
CURLOPT_TIMEOUT_MS The maximum number of milliseconds to allow cURL functions to execute. If libcurl is built to use the standard system name resolver, that portion of the connect will still use full-second resolution for timeouts with a minimum timeout allowed of one second. Added in cURL 7.16.2. Available since PHP 5.2.3.
CURLOPT_TIMEVALUE The time in seconds since January 1st, 1970. The time will be used by CURLOPT_TIMECONDITION. By default, CURL_TIMECOND_IFMODSINCE is used.
CURLOPT_MAX_RECV_SPEED_LARGE If a download exceeds this speed (counted in bytes per second) on cumulative average during the transfer, the transfer will pause to keep the average rate less than or equal to the parameter value. Defaults to unlimited speed. Added in cURL 7.15.5. Available since PHP 5.4.0.
CURLOPT_MAX_SEND_SPEED_LARGE If an upload exceeds this speed (counted in bytes per second) on cumulative average during the transfer, the transfer will pause to keep the average rate less than or equal to the parameter value. Defaults to unlimited speed. Added in cURL 7.15.5. Available since PHP 5.4.0.
CURLOPT_IPRESOLVE Allows an application to select what kind of IP addresses to use when resolving host names. This is only interesting when using host names that resolve addresses using more than one version of IP, possible values are CURL_IPRESOLVE_WHATEVER, CURL_IPRESOLVE_V4, CURL_IPRESOLVE_V6, by default CURL_IPRESOLVE_WHATEVER. Added in cURL 7.10.8.
CURLOPT_FTP_FILEMETHOD Tell curl which method to use to reach a file on a FTP(S) server. Possible values are CURLFTPMETHOD_MULTICWD, CURLFTPMETHOD_NOCWD and CURLFTPMETHOD_SINGLECWD. Added in cURL 7.15.1. Available since PHP 5.3.0.

value should be a string for the following values of the option parameter:

Option Set value to Notes
CURLOPT_CAINFO The name of a file holding one or more certificates to verify the peer with. This only makes sense when used in combination with CURLOPT_SSL_VERIFYPEER. Might require an absolute path.
CURLOPT_CAPATH A directory that holds multiple CA certificates. Use this option alongside CURLOPT_SSL_VERIFYPEER.
CURLOPT_COOKIE The contents of the "Cookie: " header to be used in the HTTP request. Note that multiple cookies are separated with a semicolon followed by a space (e.g., "fruit=apple; colour=red")
CURLOPT_COOKIEFILE The name of the file containing the cookie data. The cookie file can be in Netscape format, or just plain HTTP-style headers dumped into a file. If the name is an empty string, no cookies are loaded, but cookie handling is still enabled.
CURLOPT_COOKIEJAR The name of a file to save all internal cookies to when the handle is closed, e.g. after a call to curl_close.

A custom request method to use instead of "GET" or "HEAD" when doing a HTTP request. This is useful for doing "DELETE" or other, more obscure HTTP requests. Valid values are things like "GET", "POST", "CONNECT" and so on; i.e. Do not enter a whole HTTP request line here. For instance, entering "GET /index.html HTTP/1.0\r\n\r\n" would be incorrect.


Don't do this without making sure the server supports the custom request method first.


The default protocol to use if the URL is missing a scheme name.

Added in cURL 7.45.0. Available since PHP 7.0.7.

Set the name of the network interface that the DNS resolver should bind to. This must be an interface name (not an address).

Added in cURL 7.33.0. Available since PHP 7.0.7.

Set the local IPv4 address that the resolver should bind to. The argument should contain a single numerical IPv4 address as a string.

Added in cURL 7.33.0. Available since PHP 7.0.7.

Set the local IPv6 address that the resolver should bind to. The argument should contain a single numerical IPv6 address as a string.

Added in cURL 7.33.0. Available since PHP 7.0.7.
CURLOPT_EGDSOCKET Like CURLOPT_RANDOM_FILE, except a filename to an Entropy Gathering Daemon socket.
CURLOPT_ENCODING The contents of the "Accept-Encoding: " header. This enables decoding of the response. Supported encodings are "identity", "deflate", and "gzip". If an empty string, "", is set, a header containing all supported encoding types is sent. Added in cURL 7.10.
CURLOPT_FTPPORT The value which will be used to get the IP address to use for the FTP "PORT" instruction. The "PORT" instruction tells the remote server to connect to our specified IP address. The string may be a plain IP address, a hostname, a network interface name (under Unix), or just a plain '-' to use the systems default IP address.
CURLOPT_INTERFACE The name of the outgoing network interface to use. This can be an interface name, an IP address or a host name.
CURLOPT_KEYPASSWD The password required to use the CURLOPT_SSLKEY or CURLOPT_SSH_PRIVATE_KEYFILE private key. Added in cURL 7.16.1.
CURLOPT_KRB4LEVEL The KRB4 (Kerberos 4) security level. Any of the following values (in order from least to most powerful) are valid: "clear", "safe", "confidential", "private".. If the string does not match one of these, "private" is used. Setting this option to NULL will disable KRB4 security. Currently KRB4 security only works with FTP transactions.
CURLOPT_LOGIN_OPTIONS Can be used to set protocol specific login options, such as the preferred authentication mechanism via "AUTH=NTLM" or "AUTH=*", and should be used in conjunction with the CURLOPT_USERNAME option. Added in cURL 7.34.0. Available since PHP 7.0.7.
CURLOPT_PINNEDPUBLICKEY Set the pinned public key. The string can be the file name of your pinned public key. The file format expected is "PEM" or "DER". The string can also be any number of base64 encoded sha256 hashes preceded by "sha256//" and separated by ";". Added in cURL 7.39.0. Available since PHP 7.0.7.
CURLOPT_POSTFIELDS The full data to post in a HTTP "POST" operation. To post a file, prepend a filename with @ and use the full path. The filetype can be explicitly specified by following the filename with the type in the format ';type=mimetype'. This parameter can either be passed as a urlencoded string like 'para1=val1&para2=val2&...' or as an array with the field name as key and field data as value. If value is an array, the Content-Type header will be set to multipart/form-data. As of PHP 5.2.0, value must be an array if files are passed to this option with the @ prefix. As of PHP 5.5.0, the @ prefix is deprecated and files can be sent using CURLFile. The @ prefix can be disabled for safe passing of values beginning with @ by setting the CURLOPT_SAFE_UPLOAD option to TRUE.
CURLOPT_PRIVATE Any data that should be associated with this cURL handle. This data can subsequently be retrieved with the CURLINFO_PRIVATE option of curl_getinfo(). cURL does nothing with this data. When using a cURL multi handle, this private data is typically a unique key to identify a standard cURL handle. Added in cURL 7.10.3.
CURLOPT_PROXY The HTTP proxy to tunnel requests through.
CURLOPT_PROXY_SERVICE_NAME The proxy authentication service name. Added in cURL 7.34.0. Available since PHP 7.0.7.
CURLOPT_PROXYUSERPWD A username and password formatted as "[username]:[password]" to use for the connection to the proxy.
CURLOPT_RANDOM_FILE A filename to be used to seed the random number generator for SSL.
CURLOPT_RANGE Range(s) of data to retrieve in the format "X-Y" where X or Y are optional. HTTP transfers also support several intervals, separated with commas in the format "X-Y,N-M".
CURLOPT_REFERER The contents of the "Referer: " header to be used in a HTTP request.
CURLOPT_SERVICE_NAME The authentication service name. Added in cURL 7.43.0. Available since PHP 7.0.7.
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 A string containing 32 hexadecimal digits. The string should be the MD5 checksum of the remote host's public key, and libcurl will reject the connection to the host unless the md5sums match. This option is only for SCP and SFTP transfers. Added in cURL 7.17.1.
CURLOPT_SSH_PUBLIC_KEYFILE The file name for your public key. If not used, libcurl defaults to $HOME/.ssh/ if the HOME environment variable is set, and just "" in the current directory if HOME is not set. Added in cURL 7.16.1.
CURLOPT_SSH_PRIVATE_KEYFILE The file name for your private key. If not used, libcurl defaults to $HOME/.ssh/id_dsa if the HOME environment variable is set, and just "id_dsa" in the current directory if HOME is not set. If the file is password-protected, set the password with CURLOPT_KEYPASSWD. Added in cURL 7.16.1.
CURLOPT_SSL_CIPHER_LIST A list of ciphers to use for SSL. For example, RC4-SHA and TLSv1 are valid cipher lists.
CURLOPT_SSLCERT The name of a file containing a PEM formatted certificate.
CURLOPT_SSLCERTPASSWD The password required to use the CURLOPT_SSLCERT certificate.
CURLOPT_SSLCERTTYPE The format of the certificate. Supported formats are "PEM" (default), "DER", and "ENG". Added in cURL 7.9.3.
CURLOPT_SSLENGINE The identifier for the crypto engine of the private SSL key specified in CURLOPT_SSLKEY.
CURLOPT_SSLENGINE_DEFAULT The identifier for the crypto engine used for asymmetric crypto operations.
CURLOPT_SSLKEY The name of a file containing a private SSL key.

The secret password needed to use the private SSL key specified in CURLOPT_SSLKEY.


Since this option contains a sensitive password, remember to keep the PHP script it is contained within safe.

CURLOPT_SSLKEYTYPE The key type of the private SSL key specified in CURLOPT_SSLKEY. Supported key types are "PEM" (default), "DER", and "ENG".
CURLOPT_UNIX_SOCKET_PATH Enables the use of Unix domain sockets as connection endpoint and sets the path to the given string. Added in cURL 7.40.0. Available since PHP 7.0.7.
CURLOPT_URL The URL to fetch. This can also be set when initializing a session with curl_init().
CURLOPT_USERAGENT The contents of the "User-Agent: " header to be used in a HTTP request.
CURLOPT_USERNAME The user name to use in authentication. Added in cURL 7.19.1. Available since PHP 5.5.0.
CURLOPT_USERPWD A username and password formatted as "[username]:[password]" to use for the connection.
CURLOPT_XOAUTH2_BEARER Specifies the OAuth 2.0 access token. Added in cURL 7.33.0. Available since PHP 7.0.7.

value should be an array for the following values of the option parameter:

Option Set value to Notes
CURLOPT_CONNECT_TO Connect to a specific host and port instead of the URL's host and port. Accepts an array of strings with the format HOST:PORT:CONNECT-TO-HOST:CONNECT-TO-PORT. Added in cURL 7.49.0. Available since PHP 7.0.7.
CURLOPT_HTTP200ALIASES An array of HTTP 200 responses that will be treated as valid responses and not as errors. Added in cURL 7.10.3.
CURLOPT_HTTPHEADER An array of HTTP header fields to set, in the format array('Content-type: text/plain', 'Content-length: 100')
CURLOPT_POSTQUOTE An array of FTP commands to execute on the server after the FTP request has been performed.
CURLOPT_PROXYHEADER An array of custom HTTP headers to pass to proxies. Added in cURL 7.37.0. Available since PHP 7.0.7.
CURLOPT_QUOTE An array of FTP commands to execute on the server prior to the FTP request.
CURLOPT_RESOLVE Provide a custom address for a specific host and port pair. An array of hostname, port, and IP address strings, each element separated by a colon. In the format: array("") Added in cURL 7.21.3. Available since PHP 5.5.0.

value should be a stream resource (using fopen(), for example) for the following values of the option parameter:

Option Set value to
CURLOPT_FILE The file that the transfer should be written to. The default is STDOUT (the browser window).
CURLOPT_INFILE The file that the transfer should be read from when uploading.
CURLOPT_STDERR An alternative location to output errors to instead of STDERR.
CURLOPT_WRITEHEADER The file that the header part of the transfer is written to.

value should be the name of a valid function or a Closure for the following values of the option parameter:

Option Set value to
CURLOPT_HEADERFUNCTION A callback accepting two parameters. The first is the cURL resource, the second is a string with the header data to be written. The header data must be written by this callback. Return the number of bytes written.
CURLOPT_PASSWDFUNCTION A callback accepting three parameters. The first is the cURL resource, the second is a string containing a password prompt, and the third is the maximum password length. Return the string containing the password.

A callback accepting five parameters. The first is the cURL resource, the second is the total number of bytes expected to be downloaded in this transfer, the third is the number of bytes downloaded so far, the fourth is the total number of bytes expected to be uploaded in this transfer, and the fifth is the number of bytes uploaded so far.


The callback is only called when the CURLOPT_NOPROGRESS option is set to FALSE.

Return a non-zero value to abort the transfer. In which case, the transfer will set a CURLE_ABORTED_BY_CALLBACK error.

CURLOPT_READFUNCTION A callback accepting three parameters. The first is the cURL resource, the second is a stream resource provided to cURL through the option CURLOPT_INFILE, and the third is the maximum amount of data to be read. The callback must return a string with a length equal or smaller than the amount of data requested, typically by reading it from the passed stream resource. It should return an empty string to signal EOF.
CURLOPT_WRITEFUNCTION A callback accepting two parameters. The first is the cURL resource, and the second is a string with the data to be written. The data must be saved by this callback. It must return the exact number of bytes written or the transfer will be aborted with an error.

Other values:

Option Set value to
CURLOPT_SHARE A result of curl_share_init(). Makes the cURL handle to use the data from the shared handle.

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.

Istoricul schimbărilor

Versiune Descriere
7.0.0 Support for disabling the CURLOPT_SAFE_UPLOAD option has been removed. All curl file uploads must use CURLFile.
5.6.0 CURLOPT_SAFE_UPLOAD is now TRUE by default.
5.6.0 Removed CURLOPT_CLOSEPOLICY and associated values.
5.5.0 Added the cURL resource as the first argument to the CURLOPT_PROGRESSFUNCTION callback.
5.5.0 Introduced CURLOPT_SHARE.
5.2.4 Introduced CURLOPT_PRIVATE.


Example #1 Initializing a new cURL session and fetching a web page

// create a new cURL resource
$ch curl_init();

// set URL and other appropriate options

// grab URL and pass it to the browser

// close cURL resource, and free up system resources

Example #2 Uploading file (deprecated as of PHP 5.5.0)


/* http://localhost/upload.php:

$ch curl_init();

$data = array('name' => 'Foo''file' => '@/home/user/test.png');

curl_setopt($chCURLOPT_SAFE_UPLOADfalse); // required as of PHP 5.6.0


Exemplul de mai sus va afișa:

    [name] => Foo
    [file] => Array
            [name] => test.png
            [type] => image/png
            [tmp_name] => /tmp/phpcpjNeQ
            [error] => 0
            [size] => 279




Passing an array to CURLOPT_POSTFIELDS will encode the data as multipart/form-data, while passing a URL-encoded string will encode the data as application/x-www-form-urlencoded.

A se vedea și

add a note add a note

User Contributed Notes 139 notes

rmckay at webaware dot com dot au
4 years ago
Please everyone, stop setting CURLOPT_SSL_VERIFYPEER to false or 0. If your PHP installation doesn't have an up-to-date CA root certificate bundle, download the one at the curl website and save it on your server:

Then set a path to it in your php.ini file, e.g. on Windows:


Turning off CURLOPT_SSL_VERIFYPEER allows man in the middle (MITM) attacks, which you don't want!
Ed Cradock
7 years ago
PUT requests are very simple, just make sure to specify a content-length header and set post fields as a string.


function doPut($url, $fields)
$fields = (is_array($fields)) ? http_build_query($fields) : $fields;

$ch = curl_init($url))
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Length: ' . strlen($fields)));
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);

$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);


      return (int)

doPut('', array('foo' => 'bar')) == 200)
// do something
// do something else.

You can grab the request data on the other side with:

parse_str(file_get_contents('php://input'), $requestData);

// Array ( [foo] => bar )

// Do something with data...

DELETE  can be done in exactly the same way.
Philippe dot Jausions at 11abacus dot com
11 years ago
Clarification on the callback methods:

- CURLOPT_HEADERFUNCTION is for handling header lines received *in the response*,
- CURLOPT_WRITEFUNCTION is for handling data received *from the response*,
- CURLOPT_READFUNCTION is for handling data passed along *in the request*.

The callback "string" can be any callable function, that includes the array(&$obj, 'someMethodName') format.

1 year ago
It is important that anyone working with cURL and PHP keep in mind that not all of the CURLOPT and CURLINFO constants are documented. I always recommend reading the cURL documentation directly as it sometimes contains better information. The cURL API in tends to be fubar as well so do not expect things to be where you would normally logically look for them.

curl is especially difficult to work with when it comes to cookies. So I will talk about what I found with PHP 5.6 and curl 7.26.

If you want to manage cookies in memory without using files including reading, writing and clearing custom cookies then continue reading.

To start with, the way to enable in memory only cookies associated with a cURL handle you should use:

    curl_setopt($curl, CURLOPT_COOKIEFILE, "");

cURL likes to use magic strings in options as special commands. Rather than having an option to enable the cookie engine in memory it uses a magic string to do that. Although vaguely the documentation here mentions this however most people like me wouldn't even read that because a COOKIEFILE is the complete opposite of what we want.

To get the cookies for a curl handle you can use:

    curl_getinfo($curl, CURLINFO_COOKIELIST);

This will give an array containing a string for each cookie. It is tab delimited and unfortunately you will have to parse it yourself if you want to do anything beyond copying the cookies.

To clear the in memory cookies for a cURL handle you can use:

    curl_setopt($curl, CURLOPT_COOKIELIST, "ALL");

This is a magic string. There are others in the cURL documentation. If a magic string isn't used, this field should take a cookie in the same string format as in getinfo for the cookielist constant. This can be used to delete individual cookies although it's not the most elegant API for doing so.

For copying cookies I recommend using curl_share_init.

You can also copy cookies from one handle to another like so:

    foreach(curl_getinfo($curl_a, CURLINFO_COOKIELIST) as $cookie_line)
        curl_setopt($curl, CURLOPT_COOKIELIST, $cookie_line);

An inelegant way to delete a cookie would be to skip the one you don't want.

I only recommend using COOKIELIST with magic strings because the cookie format is not secure or stable. You can inject tabs into at least path and name so it becomes impossible to parse reliably. If you must parse this then to keep it secure I recommend prohibiting more than 6 tabs in the content which probably isn't a big loss to most people.

A the absolute minimum for validation I would suggest:


Here is the format:

    #define SEP  "\t"  /* Tab separates the fields */

    char *my_cookie =
      ""    /* Hostname */
      SEP "FALSE"      /* Include subdomains */
      SEP "/"          /* Path */
      SEP "FALSE"      /* Secure */
      SEP "0"          /* Expiry in epoch time format. 0 == Session */
      SEP "foo"        /* Name */
      SEP "bar";       /* Value */
3 years ago
Many hosters use PHP safe_mode or/and open_basedir, so you can't use CURLOPT_FOLLOWLOCATION. If you try, you see message like this:
CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in [you script name & path] on line XXX

First, I try to use zsalab function ( from this page, but for some reason it did not work properly. So, I wrote my own.

It can be use instead of curl_exec. If server HTTP response codes is 30x, function will forward the request as long as the response is not different from 30x (for example, 200 Ok). Also you can use POST.

function curlExec(/* Array */$curlOptions='', /* Array */$curlHeaders='', /* Array */$postFields='')
  $newUrl = '';
  $maxRedirection = 10;
    if ($maxRedirection<1) die('Error: reached the limit of redirections');

    $ch = curl_init();
    if (!empty($curlOptions)) curl_setopt_array($ch, $curlOptions);
    if (!empty($curlHeaders)) curl_setopt($ch, CURLOPT_HTTPHEADER, $curlHeaders);
    if (!empty($postFields))
      curl_setopt($ch, CURLOPT_POST, 1);
      curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields);
    if (!empty($newUrl)) curl_setopt($ch, CURLOPT_URL, $newUrl); // redirect needed
    $curlResult = curl_exec($ch);
    $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);

    if ($code == 301 || $code == 302 || $code == 303 || $code == 307)
      preg_match('/Location:(.*?)\n/', $curlResult, $matches);
      $newUrl = trim(array_pop($matches));

    else // no more redirection
      $code = 0;
  return $curlResult;
anderseta at gmail dot com
7 years ago
If you wish to find the size of the file you are streaming and use it as your header this is how:


function write_function($curl_resource, $string)
curl_getinfo($curl_resource, CURLINFO_SIZE_DOWNLOAD) <= 2000)
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Description: File Transfer');
header("Content-Transfer-Encoding: binary");
header("Content-Type: ".curl_getinfo($curl_resource, CURLINFO_CONTENT_TYPE)."");
header("Content-Length: ".curl_getinfo($curl_resource, CURLINFO_CONTENT_LENGTH_DOWNLOAD)."");

mb_strlen($string, '8bit');


1440 is the the default number of bytes curl will call the write function (BUFFERSIZE does not affect this, i actually think you can not change this value), so it means the headers are going to be set only one time.

write_function must return the exact number of bytes of the string, so you can return a value with mb_strlen.
dweingart at pobox dot com
14 years ago
If you want to Curl to follow redirects and you would also like Curl to echo back any cookies that are set in the process, use this:

<?php curl_setopt($ch, CURLOPT_COOKIEJAR, '-'); ?>

'-' means stdout

class="text" id="Hcom30906">
s:>, -n the reqFO_COOKbin thele #2 to be ed200 Ok) CUR thele200 Ok)ing CU-n ting morCOOKbin />putT_SSt the requr HTTP responsr />CUR thele200 Ok)00 Ok)lass Curl methods:
< the reqFOto eO const thele20means stdout

up 2418
15 >2418 <>
fnj0fo(t gmail dot com<2418 ="genanchor" href="#96id=87341
yr>14 years ago

save span class="default"><?php curl_setopt($ch, CURLOPT_HTTPHEADER, arrayEo be :span>'bar'<);
027> ion.curl7="tally" id="V118967" 2title="84% like this..."> 9 027> i>
fnj0fo(t gmail dot com<027> ="genanchor" href="#96id=87341
yr><1-07 09ss="date" tit9="2003-04-02 03:08">14 years ago class="text" id="Hcom30906">
curl i./ redirt]+\'s1)cu is a .
$status )wn" tv> :FUNCstatu>$stringlass="keyword"nbsp;   SEP "ba
_ wish$status )./Snot dR/span>.xphp>$stringlass="keyword"nbsp;   , $ch =fen s"default"><?php curl_setopt(_ wisss="default">CURLOPT_COOKIEJAR
,tent-Description: File Transfer');
       $xph__READpan>$ch =f peo"default"><?php curl_setopt(f/span>$ch,okiesizspan class="default">curl_close(_ wisss="default">CURLOPT_COOKIEJA)));
       $ects$status )I try to use zsatyleollow" targesuseiceblanlcufalse unction.curl-setopt.php#102121" rel="noftyleollow" targesuseiceblanlcufalse nchop>$stringlass="keyword"nbsp;   , al/vs$status )esuseiceblanlcufalse u>$stringlass="keyword"nbsp;   , this va$status pan>)));
)bsp;lass="string">"Content-Length: " al/vss="string">"Content-Length: ")\stea/1.0ass="string">"Content-Length: ,pan>)));
)(tspan ",pan>)));
)Acceptn "Content-Length: ,pan>)));
)("Content-Length: ,pan>)));
)(no-c"Content-Length: ,pan>)));
)C just make suclass="string">"Content-Length: "span>mb_strlen(xph__REAspan>$c/,pan>)));
)Autaoriz  Basic "a$status .fe_m64_is">ap"default"><?php curl_setopt($c/pan>)));
$ch = curl_init/span>)));
       span class="default"><?php curl_setopt
($ch, $ch/>       $ectnt-Description: File Transfer');
       span class="default"><?php curl_setopt
($ch, CURLOPT_RETURNTRANSFER,1nt-Description: File Transfer');
       span class="default"><?php curl_setopt
       span class="default"><?php curl_setopt
($ch, CURLOPT_HTTPHEADER, this vpan>2000);
       span class="default"><?php curl_setopt
,$at:200R = cuUSER_AGEN"class="string">'REQUEST_METHOD'0);
    &nbssp;  );
       span class="default"><?php curl_setopt
,1nt-Description: File Transfer');
       span class="default"><?php curl_setopt
($ch, CURLOPT_POSTFIELDS, xph__REAspan>$c/; ,$aREADpan>$ch = curl_exec($ch< = curl_getinfo($c))keyword">)
  &nbeyword">)f ($max"a$status . print_r($ch<   {
    &nbssp;  )
    &nbskeyword">va _dump>print_r(_REAspan>$c/;yword">)
curl_close($ch<   {

) word">) woout

down 9 52675
v> fnj0fo(t gmail dot com52675 ="genanchor" href="#96id=87341
y5>14 years ago
"ConT_READth httach&nbs name ss\cs tesrieION _READtgainDth httach&nbs going to be seProblemawaseCurl ;
"C> see mesAILONERROR d that npan>methods:
< the req helpURo coy cooki ;

functionopt($ch, CCthe reqpan class="default">curl_close(rd $chsp;
    print heade)keyword">)
 DE);/span>=; {
&pan class="default">curl_close
/^stea/itp://'    print heade))keyword">)
header( =" wis- v> .zip"ent-Description: File Transfer'

    returnspan>mb_strlen(heade)<}pan class="keyword">);

$ch ("Con-httach&nbs />unction.curl-setopt.php#102121" rel="noftyleollow" targes open-re ths-dumps-l>"Con-httach&nbs />">;pan class="keyword">);

$ch = curl_init/span>       span class="default"><?php curl_setopt(rd $chsp;
$ch    print $c/span>       span class="default"><?php curl_setopt(rd $chsp;
,1nt-Description: File Transfer'       span class="default"><?php curl_setopt
(rd $chsp;
  &nbkeyword">opt($ch, CCthe reqent-Description: File Transfer'
       span class="default"><?php curl_setopt
(rd $chsp;
,1nt-Description: File Transfer'
       span an>$cht(rd $c'       $intR; $ch = curl_getinfo(rd $chsp;
    print        span an>$cht(rd $c'
=$intR; $ch!pan>)) == 200keyword">)
  &nbeyword">'wasee ($max'a$status .$intR; ;pan cla>}
) word">) woout

up 1395
10 >1395
v> <2iv clas55"date" title="2006-05-30 11:31">11 years ago
1395 class="text" id="Hcom30906">
11:uand import
- CURLOPTine ect: <?php curl_setopt($ch, CURLOPT_COOKIEJAR"/tmp/ way tstrinbsp.""<, <?php curl_setopt($ch, CURLOPT_COOKIEJAR"/tmp/ way tstrinbsp.""<, ));
$ch = curl_init/s /span>       span class=span>$cht($ch, $ch />       $ect""<       span class=span>$cht($ch, CURLOPT_COOKIEJAR, span _ven _PATHn>heade)       span class=span>$cht($ch, CURLOPT_COOKIEJAR, span _ven _PATHn>heade)       span class=span>$cht($ch, CURLOPT_RETURNTRANSFER,1nt-Description: File Transfer'<       $rd ordDpan>$ch = $cht($c)       span an>curl_close($ch<   {

    return$rd ordp://;pan cla/span>, ) woout

15 622>
v> badman622> ss="genanchor" href="#96903"> ¶14 years ago
< class="text" id="Hcom30906">
CURLwar"> If yourisk> If use i-sid 30x, funcse gery (SSRF). Tng and an httackOWLOure Ieelass tak thadvantTION If you ation rl irl)s0x, funs to echas the rumber cU use i itself,ss="RedirnPTtwt fol;  i ; If you we this va>cu is aeprotocols! (1 ||See=Ois a; p;   I try to fe zsal; &lcodeunction.curl-setopt.php#102121" rf="nofl; &lcodencho)200 Ok)00 Ok)Sowill ha'o e
If you wa20means stdout

up 0323 ion.curl78="tally" id="V96903" 8tle="85% like this..."> 15 0323 i/div> v> badman
14 years ago
up 04597 ion.curl7s="tally" id="V87341" 2itle="86% like this..."> 11 >04597 i/div> v> badman<6i24clas47"date" tit6="2003-04-02 03:08">14 years ago
 cs "Unix-tallysystems"on rl iand s3libe they t areoutDbmmf y690ly"iIf youe striis > wrip121C> mRecolv"r,ng ng clr>eostrndersseuond."te and save Wurl ; isanot chaonlassde alops vabs "Yr of bynd o; isar HTTP respiadel ;funLOPTiLOtirst,>CUiand ber of b'l ;fefaie"libe theisa
mRecolv"r (p#10er of bybany ettyane thiLOis)"te and save T any cblemaiseCurl url Li|U)nix,OWLOCAlibe thend s3ST wgetidardy v> mRecolv"r,na SIGALRMaiserai_mo du"php\ v> mRecolu>
seuondmdelaynumber of by;funtrareoutsite and save icess, use this:

save p://
DE);!is113e(_GE;efault">CURLOPT_RETURNTRANSFERfooclass="string">'REQUEST_METHOD'0) {span>);
    &nbssp;  );
$ch = curl_initI try to use zsal; &lcode/;fun/;fun_rareout<);
       span class="default"><?php curl_setopt
       span class="default"><?php curl_setopt
,1nt-Description: File Transfer');
       span class="default"><?php curl_setopt
($ch, TIMEOU"_MSspan>$ch, 200);
       $aREADpan>$ch = curl_exec($ch);
       $<$ch = curl_getinfo($c));
       $<$ch = print_r($ch);
       span an>curl_close($ch=$<$ch       /span>200kean>)));
"irl)sf ($m (/span>=$<): />       $<\ u>$stringspan><   {
"DREADreceived: />       $_REAspan>\ u>$stringspan><   {
p; &nbean>)));
    &nbssp;  );
       sleeppan class="default">curl_close
) word">) woout

y5>12-2 cl2:13"date" title="2006-05-30 11:31">11 years ago class="text" id="Hcom30906">
$><4+srl leas/.span>fphp\r HTTP reby Alejandro Morenoa>curl iny cperdoeimpormulltidarenin eE m/spann200 Ok)00 Ok)icess, use this:

save p://>function_REA_is">ap"default"><?php curl_setopt(_REAspan>$ch />       $faupg>$ch ".", />       $faupost$ch "."0kean>        &ner="default"><?php curl_setopts/>       is_/span"default"><?php curl_setopt(_REAspan>$c) 0(va vpan>200=null>$stringspan><  fote(_REAtpan>$chava200=)(val/sp://"default"><?php curl_setopt(val/sp://<)l(va va$status =_REA_is">ap"default"><?php curl_setopt(val/sp:// />       $faupg>$status 200 200 ap"default"><?php curl_setopt"[."0h />       uan><">ap"default"><?php curl_setopt"]."00(va va$status =$faupg>$status 200 200 "=ass="string">"Content-Length: "uan><">ap"default"><?php curl_setopt(val/sp://< "&u>$stringspan><  }span><  >;

    return$va vpan>200gspan><}/span>       span class="default"><?php curl_setopt($ch, CURLOPT_POSTFIELDS,subeyw"default"><?php curl_setopt_REA_is">ap"default"><?php curl_setopt(>bsp;efault">CURLOPT_RETURNTRANSFE0h />       /span>20, -1span>$c) 0}
) word">) woout

yr><3-04 01:16"date" tit9="2003-04-02 03:08">14 years ago
class="text" id="Hcom30906">

<?php curl_setopt($ch, CURLOPT_HTTPHEADER"(Tspan "00, 3090e defapg>v as
<?php curl_setopt($ch, FORBID_REUS ss="default">CURLOPT_COOKIEJAR
,1nt-Description: File Transfer'       span class="default"><?php curl_setopt
,1nt-Description: File Transfer', ) woout

down 9 9908 i/div> v> fnj0fo(t gmail dot com9908 ¶07-26 12:57"date" tit7="2003-04-02 03:08">14 years ago
FILEebefote shtml"> shtVt data on the S udoLyou tt data on the other side with:

<?php curl_setopt($ch, CURLOPT_RETURNTRANSFER,1nt-Description: File Transfer'       span class="default"><?php curl_setopt
($ch, Fen ss="default">CURLOPT_COOKIEJAR,$fppan class="default">curl_clos', <?php curl_setopt($ch, Fen ss="default">CURLOPT_COOKIEJAR,$fppan class="default">curl_clos',span class="default"><?php curl_setopt($ch, CURLOPT_RETURNTRANSFER,1nt-Description: File Transfer'       >) word">) woout

up 044 ion.curl75="tally" id="V96903" 8tle="85% like this..."> 15 044 i/div> v> fnj0fo(t gmail dot com11044 22 ti:22"date" tit5="2003-04-02 03:08">14 years ago
eosST wg open_Co runDth desicle200 Ok)00 Ok)Firstlyding. s"tally" eseite and> ="y cducn[ v> ]" / ="y cducn[cos/]" / ="y cducn[thumbncla]" / ="ocuood"ue str="yut" / ="m="Hc /tspan mnbsi"get/fotm-_REA;ycake su="V)OWLOCA>v a iadeleck g and s_Us anbe a PUTusermtnd orrdele\/n steadrs)) curl_se/span>'X-rs))-Mcuood-Oe iridt:ePUT', '(Lke suax'a. span><($CUSTOMREQUEpa,s""ocuood"u=)));
" v> =)));
Fen S["thumbnclau]["tmp_ v> ]};tspag{$>Fen S["thumbnclau]["tspa ]}")/n>)));
-Nseicechow ring@apg>c_URgt; ,se docsreatengtelinkyso lasswdefaIw"oad/rspan cle/n hct="Vs wishi gethianf.jus/a you wish v> ,sre thaw to "uappan"iIf you@andor/aincludle200 Ok)-Nseicechow I fotcefu dy cho tg.tspaN If you ind namIw"oad. it asoed LOPTissuesOWLOureim shas y cperdo. TnLIproblemawasers))'sanouoodsanf.;spanmitml"> /spann2 Whwishlassrhostis aelangu"ocuood"u=)));
]" =)));
Fen S["thumbnclau]["tmp_ v> ]}"0Fen S va vacording t.word">) woout

down 15 95027 i/div> v> fnj0fo(t gmail dot com95027 <="genanchor" href="#96id=87341
y9>12-09 12:07"date" tit7="2003-04-02 03:08">14 years ago

save p://>functionspan If you wpan>curl_exec($c, &(If you wass="default">CURLOPT_COOKIEJAR,$span341_ this nss="default">CURLOPT_COOKIEJA =falcurl_clos,span class="default"><?php curl_setopt($ch, n class="default">CURLOPT_HTTPHEADER,e<,span class="default"><?php curl_setopt($ch, CURLOPT_RETURNTRANSFER,e<(aREADpan>$ch = curl_exec($ch(el="_c{$ch = curl_getinfo($ch, =$el="_c{$ch =301rpan>$ch||e(el="_c{$ch =302pan class="default">curl_clos=$ethis pan class="default">curl_clos=rip1>ap"default"><?php curl_setopt"\r\n\r\n.", />       $_REAspan>$ch />       2pan class="default">curl_clos<);
       preg_metra"default"><?php curl_setopt
'/(p;  |URI:)(.*?)\n/tp://, />       $ethis pan class="default">curl_clos, />       $metraevpan class="default">curl_clos<);
       $ thepan>$ch =ywomn class="default">curl_getinfo/span_poppan class="default">curl_close$metraevpan class="default">curl_clos<<);
       $ th_"gesedypan>$ch ="gese_ect"e$ect""< save lass="keyword"nbsp;   ( th_"gesedpan class="default">curl_clos<)));
,span class="default"><?php curl_setopt($ch, $ch />       $ect"")));
,(If you wass="default">CURLOPT_COOKIEJA++)));

    returnspan If you wpan>curl_exec($c, /span>,(If you wass="default">CURLOPT_COOKIEJA")));

    return$bodupan>200=rip1>ap"default"><?php curl_setopt"\r\n\r\n.", />       $_REAspan>$ch />       2pan class="default">curlKIEJA")));

    return$bodupan>200 ) woout

down 15 64447 i/div> v> fnj0fo(t gmail dot com64447 <="genanchor" href="#96id=87341
y6>11 years ago
COOKIEJAR d that npan>COOKIEFILEebecozN If yousese in" i-shtml">s(Tnssage like thi00 Ok)2)UELIipan class=($ch, urlHeaderethod, 1"an> ('|Set-Cconta: (.*);|U', $cap(';', $rd ords[1]") woout

up 4475 ion.curl75="tally" id="V96903" 2tle="85% like this..."> 15 4475 i/div> v> fnj0fo(t gmail dot com114475 02i24c05:36"date" tit3="2003-04-02 03:08">14 years ago
/ th> meffu w.we andspan>) woout

/manual/vote-note.php?id=87341&page=function.curl-setopt&vote=down" title="Vote down!" class="usernotes-voted">down ion.curl75="tally" id="V96903" 4tle="85% like this..."> 15 9849> i/div> v> fnj0fo(t gmail dot com9849> ss="genanchor" href="#96903"> ¶06-18 07:29"date" tit7="2003-04-02 03:08">14 years ago class="text" id="Hcom30906">
<?php curl_setopt(;Iid"default"><?php curl_setop-)span an alsspan>$ch, WRITEFUNC thi0pan>$ch(;Iid"default"><?php curl_setoph"receiveResponse."00    &nbssp;      &nbsstring">"prtvate >functionreceiveResponsespan class="default">curl_exec($ch(xml_REAspan>$c)/n>)));
,(;Iid"default"><?php curl_setop-)responseSywordypan>$ch =(xml_REAspan>$c)));
,(;Iid"default"><?php curl_setop-)responseXMLypan>$ch.=);
,(;Iid"default"><?php curl_setop-)responseSywordspan>$c)));
,(;Iid"default"><?php curl_setop-)ake suypan>$ch =span>curl_exec(xml_REAspan>$c))));
,(;Iid"default"><?php curl_setop-)sizbrpan>$ch+ =(;Iid"default"><?php curl_setop-)ake suspan>$c)));

    return$;Iid"default"><?php curl_setop-)ake suspan>$c)));
span>       > pan>< s>CUiand bk andREADiml mtit alwIyyobe shntDaml rl urc paW]+\va> nthp\innernet herhe rumbesese in/ thrl 0/ te rake sun. dntinE doefige tdhoutDwurlawasegothp\e.paHopes; isahelpsword">) woout

<1<833> < class="text" id="Hcom30906">
eclersoeCurl eeosby i"s bssuer (i.e., roit las/.)we andspan> 15 el="nofpublib.b to"punction.curl-setopt.php#102121" rel="nofpublib.b to"pnanchord">) woout

up<42; <58074
down 15 58074 i/div> v> fnj0fo(t gmail dot com58074 ="genanchor" href="#96id=87341
y5>10-23 06:34"date" titl2="2006-05-30 11:31">11 years ago
FILEe anSTDOUT oor/a t fsby dE dbr /ipan class=()DWg, se enSTDOUT curnetit\cr. sshe r net rlan aywaitess="user). d gethi,aonthf bycimy1yDrecho btDth hycid meffu w?of <?php curl_setopt(;Iid"default"><?php curl_setop-)spanspan>$ch CURLOPT_RETURNTRANSFER0span>$c)< />
) woout

down 15 53636 i/div> v> fnj0fo(t gmail dot com53636 <="genanchor" href="#96id=87341
y5>y6><7cl2:08"date" titl2="2006-05-30 11:31">11 years ago
FILE,">v rtybackO anthrenotm&faCUed Lr rOwf displaybr /ST grd ords. Tnis f bybe anhiev d ndbr tt data on the other side with:

CURLOPT_COOKIEJA =fopennss="default">CURLOPT_COOKIEJAt"" i://delpu".", />    &nbseyword">"w."0k s diet"Uemand So opennstdoutercr.iritord.\n."',span class="default"><?php curl_setopt($ch, Fen ss="default">CURLOPT_COOKIEJAR,$fppan class="default">curl_clos',>) word">) woout

up 6866 ion.curl71="tally" id="V96903" 3tle="85% like this..."> 15 6866 i/div> v> fnj0fo(t gmail dot com116866 <3-l2=04:09"date" tit2="2006-05-30 11:31">11 years ago
ecN If youargu&nbsnny ssedy anthredE dbackO>,D/ thcargu&nbs.we andspan>
save p://;  ,span class="default"><?php curl_setopt(rd r rcespan>$ch, ", />    &nbseyword">'progrd sCE dbacktp://;span>,span class="default"><?php curl_setopt(rd r rcespan>$ch, NO$ch,falcurl_clos<;span>functionprogrd sCE dback"default"><?php curl_setopt(own!"oad_sizbrpan>$ch =0span>$c, />       $_wn!"oadedypan>$ch =0span>$c, />       $Iw"oad_sizbrpan>$ch =0span>$c, />       $Iw"oadedypan>$ch =0span>$c)we andean>,span class="default"><?php curl_setopt(rd r rcespan>$ch, ", />    &nbseyword">'progrd sCE dbacktp://;span>,span class="default"><?php curl_setopt(rd r rcespan>$ch, NO$ch,falcurl_clos<;span>functionprogrd sCE dback"default"><?php curl_setopt(rd r rcespan>$ch,(own!"oad_sizbrpan>$ch =0span>$c, />       $_wn!"oadedypan>$ch =0span>$c, />       $Iw"oad_sizbrpan>$ch =0span>$c, />       $Iw"oadedypan>$ch =0span>$c)we andean>
save p://; 
,span class="default"><?php curl_setopt(rd r rcespan>$ch, ", />    &nbseyword">'progrd sCE dbacktp://;span>,span class="default"><?php curl_setopt(rd r rcespan>$ch, NO$ch,falcurl_clos<;span>functionprogrd sCE dback"default"><?php curl_setopt(rd r rcespan>$ch,(own!"oad_sizbrpan>$ch =0span>$c, />       $_wn!"oadedypan>$ch =0span>$c, />       $Iw"oad_sizbrpan>$ch =0span>$c, />       $Iw"oadedypan>$ch =0span>$c)we andean>eae; $cDE);/span>=e iscurl_execlas_VERSthi", />    &nbseyword">'5.5.0tp:// > =0span>$c) ean>)));
       $Iw"oadedypan>$ch =$Iw"oad_sizbpan>$ch);
       $ w"oad_sizbrpan>$ch =$_wn!"oadedpan>$ch);
       $_wn!"oadedypan>$ch =(own!"oad_sizbpan>$ch);
       $_wn!"oad_sizbrpan>$ch =$rd r rcespan>$c>span>       >  word">) woout

<11211> < class="text" id="Hcom30906">
lg, s@o(rl iharacsec) / thuwissObac lg, s@oth hyuwis.we andspan>
save ppan c$post$ch ' w"oad_uwis' pan>$ch '@uwis_to_Iw"oad.pngtp://
,' w"oad_$ch '@($ch =span initspan class="default">curl_exec);span>,span class="default"><?php curl_setopt(spanspan>$ch, $ch />    &nbseyword">' 15 el="nofexampis.div/Iw"oad-tletunction.curl-setopt.php#102121" rel="nofexampis.div/Iw"oad-tletnanctp://;span>,span class="default"><?php curl_setopt(spanspan>$ch, $c, />       $post);span>,span an>curl_exec("",span closespan class="default">curl_exec(> pan>
save an class="keyw$post$ch ' w"oad_uwis' pan>$ch
'@uwis_to_Iw"oad.pngtp://,' w"oad_$ch spwortfspan class="default">curl_exec"\0%s.", />    &nbseyword">'@$c)we andan class="keyw",> pan> 15 el="" rel="">) woout

up 02a21 ion.curl69="tally" id="V96903" 10tle="85% like this..."> 15 02a21 i/div> v> badman14 years ago
If you wan>shwmport th be"TION_o="H\cr.cpen_fe_moirNis /emandd. TnLI>< t fbr /SspanpCrean, noIproblemawmpor this n/ th>; DWg, se en mandsE seuondmargu&nbsh(n ate-note.nis entse envarimand So zero be"max If you wan>Dexceeded). 00 Ok)Seuondm"geameseclvaluestt data -"maxIf you whisanuml cr.notOset: If you w"maximumyuw andime,hrfts nraisshlasswarnbr t data -"maxIf you whisagreats ae yon zero: noIraissr arr s) p#10"geameseclvarimand entseo zerot data -"maxIf you whisald secr.eq="V zero: noIurl-se If you wan>st data on the other side with:

functionspan an><_url-sespan class="default">curl_exec$ch$c&(maxIf you whpan>$ch =numlspan>$c) e (m nss="default">CURLOPT_COOKIEJA =(maxIf you whpan>$ch =numl pan>$ch?=5 pan>$ch:=ortvalspan class="default">curl_exec(maxIf you w/span>=inipan>span class="default">curl_exec'cpen_fe_moirtp://
) '' pan>$ch&&=oripan>span class="default">curl_exec'TION_o="H' pan>$ch 'Of e span class="default"><?php curl_setopt($ch, Fsage like thi0pan>$c, />       $m nss="default">CURLOPT_COOKIEJA0span>$c)< span class="default"><?php curl_setopt($ch, MAXREDIRsspan>$c, />       $m ss="default">CURLOPT_COOKIEJA"< span class="default"><?php curl_setopt($ch, Fsage like thi0pan>$c, />       falcurl_clos<; =$m nss="default">CURLOPT_COOKIEJA0span>$c)be (newpanrpan>$ch =span an>curl_getinfo($ch, $c<; (rcuypan>$ch =span copy an alsspan>$cc($ch< span class="default"><?php curl_setopt(r$ch, rethodspan>$ch,truspan class="default">curl_clos<; span class="default"><?php curl_setopt(r$ch, NOBODYspan>$ch,truspan class="default">curl_clos<; span class="default"><?php curl_setopt(r$ch, FsRBID_REUS ss="default">CURLOPT_COOKIEJAR,falcurl_clos<; span class="default"><?php curl_setopt(r$ch, CURLOPT_RETURNTRANSFER,truspan class="default">curl_clos<; span class="default"><?php curl_setopt(r$ch, $ch />       $newpanpan class="default">curl_clos<; ( this npan>$ch =span an>curl_exec(r$c<; =span arrnan class="default">curl_getinfo(r$c<)be ( f90epan>$ch =0span>$c; ( f90epan>$ch =span an>curl_getinfo(r$ch, CURLOPT_COOKIEJA<; =$ f90epan>$ch =301epan>$ch||w/span>( f90epan>$ch =302pan class="default">curlKIEJA"be preg_metraspan class="default">curl_exec'/LocC>,w/span>( this span>$c, />       $metraesp://; (newpanrpan>$ch =ywomn class="default">curl_getinfoaspan_popn class="default">curl_getinfo(metraesp://; ( f90epan>$ch =0span>$c; =$ f90epan>$ch&&<--/>       $m ss="default">CURLOPT_COOKIEJA"< span closespan class="default">curl_exec(r$c<; CURLOPT_COOKIEJA"be =$maxIf you whpan>$ch =numlpan class="default">curlKIEJA"be =ywogger_arr sspan class="default">curl_exec'Too many If you ws. WLOCAurl-sebr /If you ws, libt th hitoe,w/span>E_USER_WARNINGp://; (maxIf you whpan>$ch =0span>$c; ;

    returnfalcurl_clos; span class="default"><?php curl_setopt($ch, $ch />       $newpanpan class="default">curl_clos<; ;

    returnspan an>curl_exec($c<; >  word">) woout

down 15 92522 i/div> v> fnj0fo(t gmail dot com92522 ="genanchor" href="#96id=87341
y9-07-28 03:05"date" tit8="2003-04-02 03:08">14 years ago
process. 00 Ok)on the other side with:

$ch =fopenspan class="default">curl_exec'/tmp/footp://,w/span>'wtp://; $cuypan>$ch =span initspan class="default">curl_exec/span>' 15 el="nofexampis.div/foounction.curl-setopt.php#102121" rel="nofexampis.div/foonanctp://;/span>,span class="default"><?php curl_setopt($ch, Fen ss="default">CURLOPT_COOKIEJAR,$f/span>$c<;
    returnspan an>curl_exec($c<; span closespan class="default">curl_exec($c<; =fclosespan class="default">curl_exec(f/span>$c<; read_uwisspan class="default">curl_exec'/tmp/footp://<; >  word">) woout

<11599> < class="text" id="Hcom30906">
) woout

down 15 91952 i/div> v> fnj0fo(t gmail dot com91952 ="genanchor" href="#96id=87341
y9-07-02 09:14"date" tit8="2003-04-02 03:08">14 years ago
>functionsE dback"default"><?php curl_setopt(own!"oad_sizbss="default">CURLOPT_COOKIEJAR,$_wn!"oadedpan>$ch, />       $Iw"oad_sizbpan>$ch, />       $Iw"oadedpan>$ch)we andean>$cuypan>$ch =span initspan class="default">curl_exec/span>' 15 el="nofwww.exampis.divpnction.curl-setopt.php#102121" rel="nofwww.exampis.divnanctp://;span>v rspan>< ,span class="default"><?php curl_setopt($ch, NO$ch,falcurl_clos<;span>,span class="default"><?php curl_setopt($ch, ", />    &nbseyword">'cE dbacktp://;span>,span class="default"><?php curl_setopt($ch, BUFFERStZ ss="default">CURLOPT_COOKIEJAR,128p://;span>,$_atanpan>$ch =span an>curl_exec($c<;span sspan>    &nbskeyword">> pan>) woout

down 15 60142 i/div> v> fnj0fo(t gmail dot com60142 ="genanchor" href="#96id=87341
y5-12-27c02:24"date" tit11="2003-04-02 03:08">14 years ago
CAPATH / th CA$cod="Vspan><_Us anpr>v ntnt th fhe ra> fbr /So any rTTPSuenrv aeexcept myewn!e
<$sopensslex509 -ir enrv a.crt -outeoutcert.pem -CA$cod.eq="V anthren ateefapa, seoeoutcert.pem / th
SSL_VERIFYPEERVspan>CAPATH nmands,"> e youvalid certificd=8s">) woout

up 8536 ion.curl66="tally" id="V96903" 4tle="85% like this..."> 15 > 8536 i/div> v> fnj0fo(t gmail dot com118536 ss="genanchor" href="#96903"> ¶11 years ago
v ntu> encoun1 aeenrv as whichk ndoeoperat "oacTLS 1.1 cr.TLS 1.2, / thwdefaaotevely Iffnd "TLS 1.0usernu wan>s. span>SSLVERSthi'smkeyword 113ml">) > anthreenrv a.span>c SSLVERSthi aneits ae5 (f s ) woout

down 15 87112 i/div> v> fnj0fo(t gmail dot com87112 ="genanchor" href="#96id=87341
y8-11-19 01:31"date" tit8="2003-04-02 03:08">14 years ago
curl_exec); $ 03Cooki0epan>$ch 'PHPSESStD=' pan>$ch. />       $_COOKI ss="default">CURLOPT_COOKIEJA[/span>'PHPSESStDtp://] . />    &nbseyword">';apa, =/tp://; sesscurl_exec<; ($ch =span initspan class="default">curl_exec/span>'en1 a_/st" tal_pan aOur'span>$c<; span class="default"><?php curl_setoptw/span>( pan an alsspan>$ch, COOKI ss="default">CURLOPT_COOKIEJA, />       $ 03Cooki0epan>$ch<;
    returnspan an>curl_exec($c<; span closespan class="default">curl_exec($c<;   woout

up 07621 ion.curl66="tally" id="V96903" 5tle="85% like this..."> 15 >07621 i/div> v> fnj0fo(t gmail dot com107621 ss="genanchor" href="#96903"> ¶ ate" tit5="2003-04-02 03:08">14 years ago
c DWg, saspans fhe rPHP.
on the $cuypan>$ch =span initspan class="default">curl_exec<; (_atanpan>$ch ' v> ' pan>$ch 'valuetp://<; (_atanpan>$ch ' v> ' pan>$ch 'sub v> ' pan>$ch 'subvaluetp://<<; span class="default"><?php curl_setopt($ch, $ch />    &nbseyword">' 15 el="noflocE host/tlet pnction.curl-setopt.php#102121" rel="noflocE host/tlet nanctp://;/span>,span class="default"><?php curl_setopt($ch, CURLOPT_COOKIEJAR,1p://;/span>,span class="default"><?php curl_setopt($ch, $c, />       $_atap://<; curl_exec($c<; >  word">) woout

<11047> < class="text" id="Hcom30906">
c SSL_VERIFYHspa\cr.cts ae mandssy antsue (boolean). I"umay cand binsece thbehavicr.[1] SSL_VERIFYHspa\= 1 isano"uence thbehavicr. SSL_VERIFYHspa\= 2. By 113ml">ctnis value eq="V an1 you e aecertificd=8emus/acontabn a Cp;&spaNamre 0itssans. cSSL certificd=8s"ipanon-browssr softwEIf, ACM CCS '12, pp. 38-49, ;) woout

up 7990 ion.curl66="tally" id="V96903" 1tle="85% like this..."> 15 > 7990 i/div> v> fnj0fo(t gmail dot com117990 ss="genanchor" href="#96903"> ¶11 years ago
0wf youactu> u ind / th LOur isn'"uass=cu&nbsed Wansiotshangma yathbehavicur.wIe"> ="hrfts nthrevalue (/ thmak "se thi"user8s"rfts n"typ =").span>
span><$post$ch 's=cu&nbs[]' pan>$ch '@/tmp/Iw"oad_qm5ee8FBxi; typ =im/vo/jpeg;u ind v> =Kitn n.jpgtp://,  word">) woout

<11515> < class="text" id="Hcom30906">
u c:)/>  woout

07667 ion.curl66="tally" id="V96903" 1tle="85% like this..."> 15 >07667 i/div> v> fnj0fo(t gmail dot com107667 ="genanchor" href="#96id=87341
/2-02-25 12:22 ate" tit5="2003-04-02 03:08">14 years ago
FILEebacksiotnedout, / thcanno"useu>cit.s="keywForRexampistt data on the other side with:

on the $cuypan>$ch =span initspan class="default">curl_exec<; (fuypan>$ch =fopenspan class="default">curl_exec'/pa, /to/stored/,w/span>'wtp://; span class="default"><?php curl_setopt($ch, Fen ss="default">CURLOPT_COOKIEJAR,$f/span>$c<;
    returnspan class="default"><?php curl_setopt
($ch, $ch />    &nbseyword">' 15 el="nofexampis.div/" rel="nofexampis.div/;/span>,span an>curl_exec($c<; fflushspan class="default">curl_exec(f/span>$c<;
    returnfclosespan class="default">curl_exec
(f/span>$c<; csoowdefacand baodernbr /So be span>< < ;

    returnspan class="default"><?php curl_setopt
($ch, Fen ss="default">CURLOPT_COOKIEJAR
,fopenspan class="default">curl_exec' />nofnedouttp://,w/span>'wtp://<;
    returnspan class="default"><?php curl_setopt
    returnspan class="default"><?php curl_setopt
($ch, $ch />    &nbseyword">' 15 el=""phpnction.curl-setopt.php#102121" rel=""phnanctp://;/span>,$="phnpan>$ch =span an>curl_exec($c<;w/span>>  word">) woout

01231 ion.curl66="tally" id="V96903" 1tle="85% like this..."> 15 >01231 i/div> v> fnj0fo(t gmail dot com101231 ="genanchor" href="#96id=87341
/0-12-03 01:0> ate" tit6="2003-04-02 03:08">14 years ago
<?php curl_setopt($ch, $c, aspan>' ind' pan>$ch '@/pa, /to/uwis./sttp://;span>> pan> e< ontnbs-Disposi> =" ind";u ind v> ="/pa, /to/uwis./st"00 Ok)span> t00 Ok)span>< ontnbs-Disposi> =" ind";u ind v> ="uwis./st"00 Ok)span>
span><?php curl_setopt
($ch, $c, aspan>' ind' pan>$ch '@uwis./sttp://;span>( wdnpan>$ch =php wdspan class="default">curl_exec<;span>chdisspan class="default">curl_exec'/pa, /to/tp://;span>(receivedDatanpan>$ch =span an>curl_exec($c<;span ss="keyw/span>chdisspan class="default">curl_exec( wdp://;span>>  word">) woout

down 15 98751 i/div> v> fnj0fo(t gmail dot com98751 ="genanchor" href="#96id=87341
/0-07-05 05:3> ate" tit7="2003-04-02 03:08">14 years ago
) woout

down 15 88538 i/div> v> fnj0fo(t gmail dot com88538 ="genanchor" href="#96id=87341
y9-01-28 06:49"date" tit8="2003-04-02 03:08">14 years ago

on the span class="default"><?php curl_setopt($ch, rTTPrethodspan>$chaspan>' ontnbs-Type:aapplicd=e.p/jssptp://<;
    return>  word">) woout

/manual/vote-note.php?id=87341&page=function.curl-setopt&vote=down" title="Vote down!" class="usernotes-voted">down ion.curl66="tally" id="V96903" 1tle="85% like this..."> 15 9631> i/div> v> fnj0fo(t gmail dot com9631> ="genanchor" href="#96id=87341
/0-02-19 03:07 ate" tit7="2003-04-02 03:08">14 years ago < class="text" id="Hcom30906">
n"obju whan albr /Sspanfers. WRITEFUNC thi, "$obju w, "ocuood")nas value rcr.cE dbacks mandss.
on the p://,_wn!"oadernpan>$ch{ ($ch; function__ton 03uctspan class="default">curl_exec< { (" idspan class="default">curl_exe- span class="keyword">=spanypan>$ch =span initspan class="default">curl_exec<; span class="default"><?php curl_setopt(" idspan class="default">curl_exe- span class="keyword">=spanspan>$ch, WRITEFUNC thispan>$c, aspan>(" idspan class="default">curl_exeh />    &nbseyword">")<; function<?php curl_setopt(rd span>$ch,$_atap://< { ) woout

down 15 93630 i/div> v> fnj0fo(t gmail dot com93630 ="genanchor" href="#96id=87341
y9-09-19 02:41"date" tit8="2003-04-02 03:08">14 years ago
<_Us anpost3a @reply twentseo twitn a wuichk4ypicaldoestgetDWg, s@screen v> .word">) woout

down 15 74709 i/div> v> fnj0fo(t gmail dot com74709 ="genanchor" href="#96id=87341
y7-04-24 09:01"date" tit10="2003-04-02 03:08">14 years ago
< < < cr.fclaDWg, s FTP>SSL_FAILED. span>< FTP>SSL_FAILED.word">) woout

down 15 85044 i/div> v> fnj0fo(t gmail dot com85044 ="genanchor" href="#96id=87341
y8-y8-12 10:12 ate" tit9="2003-04-02 03:08">14 years ago

    returnspan class=wp://$ch, CURLOPT_COOKIEJAR,1p://;($ch, $c, />       $PostDatap://<;span>> I rcund Wg, sondoe you cs ntnWg, s COOKI .s="keywJust3 docuoursesubtnd So watchk ut rcr.word">) woout

down 15 62274 i/div> v> fnj0fo(t gmail dot com62274 ="genanchor" href="#96id=87341
y6-02-23 01:57 ate" tit11="2003-04-02 03:08">14 years ago
<_Us anbe aand So post3m s./Tne rcl-sebr /exampis shows how
on the $ch <;        $post_ atapan>$ch[/span>'pictuIfs[0]tp://] "@cd=.jpg"p://; $ch[/span>'pictuIfs[1]tp://] "@dog.jpg"p://; ($ch =span initspan class="default">curl_exec<; span class="default"><?php curl_setopt($ch, $ch />    &nbseyword">" 15 el="nofexampis.div/my_pan pnction.curl-setopt.php#102121" rel="nofexampis.div/my_pan ncho"ypan>$ch)yw <?php curl_setopt($ch, CURLOPT_COOKIEJAR,1ypan>$ch)y <?php curl_setopt($ch, $c, />       $post_ atapan>$ch)y <?php curl_setopt($ch, CURLOPT_RETURNTRANSFER,1p://;/span>$ch =span an>curl_exec($c<; span ar tispan class="default">curl_exec($c<< { span ar osspan class="default">curl_exec( /span>$c<;        span closespan class="default">curl_exec($c<; " >       $postResordpan>" >    &nbsa/b/c;
    return>  word">) woout

down 15 57005 i/div> v> fnj0fo(t gmail dot com57005 ="genanchor" href="#96id=87341
y5-09-21 07:09"date" tit12="2006-05-30 11:31">11 years ago
ana ($ch =span initspan class="default">curl_exec<; ($ch, $ch />    &nbseyword">' 15 el="nofwww.exampis.div/Members/Logi> pnction.curl-setopt.php#102121" rel="nofwww.exampis.div/Members/Logi> nanctp://;/span><
    returnspan class=wp://
,1p://;/span>< ($ch, $c, />    &nbseyword">' ield v> 1= ieldvalue1/manu ield v> 2= ieldvalue2tp://;/span><
    returnspan class=wp://
'dooki0.tsttp://; c ;
$ch, CURLOPT_RETURNTRANSFER,1p://;/span>< (storeapan>$ch =span an>t($c);/span>< ($ch, $ch />    &nbseyword">' 15 el="nofwww.exampis.div/Members/Dwn!"oads/And="VReport.pdfpnction.curl-setopt.php#102121" rel="nofwww.exampis.div/Members/Dwn!"oads/And="VReport.pdfnanctp://;/span>< (tontnbsapan>$ch =span an>t($c);/span>< span closewp://$c); /span>< <
    return>  word">) woout

down 15 53445 i/div> v> fnj0fo(t gmail dot com53445 ="genanchor" href="#96id=87341
y5-06-01 02:57 ate" tit12="2006-05-30 11:31">11 years ago
rethodS0wn3redirects becand bc
on the $host"pan>$ch "www.exampis.div" >    &nbsa/b/c;
    return$panypan>$ch " 15 el="nofpnction.curl-setopt.php#102121" rel="nofnchor>
    return$host/span>/" >    &nbsa/b/c; ,$=eadersnpan>$ch "Host:w/>       $host/span>"p://; ,$$ch =span initspan class="default">curl_exec<; ($ch, $ch />      return$panp://; ($ch, rTTPrethodspan>$chw/>       $headersp://;        tnis insteadp:// data on the o>       $host"pan>$ch "www.exampis.div" >    &nbsa/b/c;
    return$panypan>$ch " 15 el="nofpnction.curl-setopt.php#102121" rel="nofnchor>
    return$host/span>/" >    &nbsa/b/c; ,$$ch =span initspan class="default">curl_exec<; ($ch, $ch />      return$panp://; ) woout

up 470 ion.curl66="tally" id="V96903" 2tle="85% like this..."> 15 > 470 i/div> v> fnj0fo(t gmail dot com11470 ="genanchor" href="#96id=87341
y1-02-21 05:50 ate" tit16="2003-04-02 03:08">14 years ago
cr.postl">cinfo/readbr /info,h>
on the span class=p://$ch, $ch/span>" 15 el="snofexampis.divpnction.curl-setopt.php#102121" rel="snofexampis.divncho"p://; t($ch, USERAGENaefault">CURLOPT_RETURNTRANSFER"Mozilla/4.0 (sp;patibde; MSIE 5.01; Windows NT 5.0)"p://; ) woout

/manual/vote-note.php?id=87341&page=function.curl-setopt&vote=down" title="Vote down!" class="usernotes-voted">down ion.curl64="tally" id="V96903" 4tle="85% like this..."> 15 7131> i/div> v> fnj0fo(t gmail dot com7131> ="genanchor" href="#96id=87341
y6-11-21 08:40"date" tit10="2003-04-02 03:08">14 years ago < class="text" id="Hcom30906">
FOLLOWLOCA thi / th>FOLLOWLOCA thi canno"ub eactivd=8d wyon ir eafe_m090 cr. bhopen_basedir id cla="Vspan>< yon >FOLLOWLOCA thi ir t th wyon open_basedir wrasafe_m090 Crea/emandd."3ah of.lass4.4.4/5.1.5.s="keywTnis is due an youfac10ts/net th isynotO"gethofalass/ thdoesa'"uknowcinasafe_m090 by redirectl">c(
cr.>; < thsDWg, swn" tames/ thpcla/c
span>>functioncurl_exec($c($ch 0 >    &nbsa/b/c;($ch 20 >    &nbsa/b/c;(    &nbsa/b/c++ ($c($ch 0 >    &nbsa/b/c;FALS ss="default">CURLOPT_COOKIEJA;($ch, rethodspan>$chw/>        ruep://;t($ch, CURLOPT_RETURNTRANSFER, ruep://;$ch curl_exec($c<;span ss="keyws="keyws="keyws="keywlistc(headerspan>$ch />      return$_atap://< curl_exec"\n\n"p:// />      return$_atap:// />      return2p://;$ch ($ch, rTTP_COD ss="default">CURLOPT_COOKIEJA<;(el="_3090ypan>$ch $ch||w/span>$ch (matchesnpan>$ch <;preg_matchspan class="default">curl_exec'/Locd=e.p:(.*?)\n/tp://>       $headerp://>       $matchesss="default">CURLOPT_COOKIEJA<;(panypan>$ch <@parse_panp://"default">CURLOPT_COOKIEJA<)<;      return$panp://$ch 0 >    &nbsa/b/c;$_atap://;(last_panypan>$ch =parse_panp:// glainfop://$ch, EFFECTIVE>$c)<;      return$panp://[/span>'schemetp://])(panp://[/span>'schemetp://] 'schemetp://];      return$panp://[/span>'hosttp://])(panp://[/span>'hosttp://] 'hosttp://];      return$panp://[/span>'pathtp://])(panp://[/span>'pathtp://] 'pathtp://];(new_panypan>$ch =(panp://[/span>'schemetp://] . />    &nbseyword">'://'ypan>$ch. />    &nbskeyword">(panp://[/span>'hosttp://] . />    &nbskeyword">(panp://[/span>'pathtp://] . c(panp://[/span>'querytp://]?/span>'?tp://[/span>'querytp://]:/span>'tp://;span class=p://$ch, $ch />      return$new_panp://;debugspan class="default">curl_exec'Redirectl">ctotp://>       $new_panp://;;
curl_exec($c<;($ch p://">0 >    &nbsa/b/c;$_atap://;) woout

up 02519 ion.curl63="tally" id="V96903" 3tle="85% like this..."> 15 >02519 i/div> v> fnj0fo(t gmail dot com102519 ="genanchor" href="#96id=87341
11-02-18 11:04"date" tit6="2003-04-02 03:08">14 years ago
span><$ch =span initspan class="default">curl_exec' 15 el="nofexampis.divpnction.curl-setopt.php#102121" rel="nofexampis.divnanctp://;span><span class=p://$ch, CURLOPT_COOKIEJAR,1p://;span class=p://$ch, $c, aspan>' oo'ypan>$ch=$_GEass="default">CURLOPT_COOKIEJA[/span>'bartp://]<));span><span an>curl_exec($c<;) woout

down 15 93686 i/div> v> fnj0fo(t gmail dot com93686 ="genanchor" href="#96id=87341
y9-09-22 03:54"date" tit8="2003-04-02 03:08">14 years ago
c rTTPrethod moreats/n oemeeWg d\slearh ut3any/headersh>rTTPrethodVspan>
span>span class=p://<$ch/span>, rTTPrethodspan>$chaspan >"Contnbs-Type: h"Expect: 100-tontinue"span>));span><span class=p://<$ch/span>, rTTPrethodspan>$chaspan >"Accept: applicd=e.p/json"span>));span><) woout

up 8586 ion.curl62="tally" id="V96903" 2tle="85% like this..."> 15 > 8586 i/div> v> fnj0fo(t gmail dot com118586 ="genanchor" href="#96id=87341
16-01-04 10:19"date" tit1="200-04-02 03:08">14 years ago
rethod_OUT id clao anTRUEats/n VERBOSEsdoesanone t f."(fhe r 15 el="snofbugs." ) woout

down 15 84916 i/div> v> fnj0fo(t gmail dot com84916 ="genanchor" href="#96id=87341
y8-y8-y5 04:28"date" tit9="2003-04-02 03:08">14 years ago
$c, aspan><://">' ield1'ypan>$ch='valuetp://; $c, aspan><://">' ield1=value/manu ield2=value2tp://; cWg, sbo, sa wareh) woout

up 08162 ion.curl62="tally" id="V96903" 2tle="85% like this..."> 15 >08162 i/div> v> fnj0fo(t gmail dot com108162 ="genanchor" href="#96id=87341
12-04-03 03:55"date" tit5="2003-04-02 03:08">14 years ago
<<<<<<) woout

down 15 78046 i/div> v> fnj0fo(t gmail dot com78046 ="genanchor" href="#96id=87341
y7-09-25 10:52"date" tit10="2003-04-02 03:08">14 years ago
y7 <(panypan>$ch ' 15 el="nofwww." i.netpnction.curl-setopt.php#102121" rel="nofwww." i.netnanctp://;/span>< functiondisguise_hp?ip:// ($ch =span initspan class="default">curl_exec<; < (headerp://[/span>0 >    &nbsa/b/c] "Accept:     &nbsa/b/c; (headerp://[/span>0 >    &nbsa/b/c] . "    &nbsa/b/c; (headerp://[] "Cache-Control:nmax-l/vo0" >    &nbsa/b/c; (headerp://[] "Cernu we.p: keep-alive" >    &nbsa/b/c; (headerp://[] "Keep-Alive: 300" >    &nbsa/b/c; (headerp://[] "Accept-Charcla: ISO-8859-1,utf-8;q=0.7,*;q=0.7" >    &nbsa/b/c; (headerp://[] "Accept-Langul/v: en-us)en;q=0.5" >    &nbsa/b/c; (headerp://[] "Pragma: " >    &nbsa/b/c;wp://; // browssrs keep34hid 2121". span class=p://, $ch />      return$panp://; span class=p://, CURLOPT_RETURNTRANSFER'Googlebot/2.1 (+ 15 el=""phpnction.curl-setopt.php#102121" rel=""phncho)tp://;/span>span class=p://, rTTPrethodspan>$chw/>       $headerp://;/span>span class=p://, REFERodspan>$chw/>    &nbseyword">' 15 el="" rel=";/span>span class=p://, ENCODINGspan>$chw/>    &nbseyword">'gzip,eywlatetp://;/span>span class=p://, AUTOREFERodspan>$chw/>    &nbseyword">, ruep://;/span>span class=p://, CURLOPT_RETURNTRANSFER,1p://;/span>span class=p://, TIMEOUass="default">CURLOPT_COOKIEJAR,10 >    &nbsa/b/c<; $ch =span an>curl_exec();wp://; // an>span closespan class="default">curl_exec();wp://; // close.threternu we.p >;
$="phnc//;wp://; // / thfin> ,w>;
($ch =disguise_hp?ip://;        (    &nbsa/b/c;        >< pan>< woout

up 09634 ion.curl61="tally" id="V96903" 3tle="85% like this..."> 15 >09634 i/div> v> fnj0fo(t gmail dot com109634 ="genanchor" href="#96id=87341
12-08-03 08:57"date" tit5="2003-04-02 03:08">14 years ago

span>t($ch, CUSTOMREQUEpass="default">CURLOPT_COOKIEJAR"PUT"p://;span class=p://$ch, CURLOPT_COOKIEJAR,1p://;>
span>t($ch, rTTPrethodspan>$chwaspan><://">'X-rTTP-Metnod-Override: PUTtp://;>
span><$ ataypan>$ch t(>CURLOPT_COOKIEJA);( ataypan>$ch taspan>' v> 's="keywp://'lassin Aote.ptp://'price'ypan>$ch=
  &nbsa/b/c));span><$$ch =span initspan class="default">curl_exec);span class=p://$ch, $ch />    &nbseyword">" 15 el="://api.localhost/rest/books/1pnction.curl-setopt.php#102121" rel="nofapi.localhost/rest/books/1ncho"p://;span class=p://$ch, CURLOPT_RETURNTRANSFER,1p://;PUT, 1);w// noone_Usanymspan class=p://$ch, rTTPrethodspan>$chwaspan><://">'X-rTTP-Metnod-Override: PUTtp://;span class=p://$ch, $c, ( atap://;$c0ypan>$ch curl_exec($c<;span closespan class="default">curl_exec($c<;print_rp://;>
<<://">putAote.pspan class="default">curl_exec)w{"putAote.pc)w-
    &nbsa/b/c. />    &nbskeyword">(" id >    &nbsa/b/c-    &nbskeyword"> glaPgev>p://
'idtp:// ."\n" >    &nbsa/b/c;/pan>print_rp://>CURLOPT_COOKIEJA);="Vpan>< woout

down 15 84902 i/div> v> fnj0fo(t gmail dot com84902 ="genanchor" href="#96id=87341
y8-y8-y5 04:56"date" tit9="2003-04-02 03:08">14 years ago

span>t($ch, INTERFAC ss="default">CURLOPT_COOKIEJAh />    &nbseyword">"XXX.XXX.XXX.XXX"p://;>< anepecifysIP adress for request, nometimesh> .>< <
span>curl_exec);$ch aspan><;$ch p://; returnsystemp://"ifconfig"p://;      return$ifconfigpan>$ch;$ch p://; returnob_gla_tontnbssspan class="default">curl_exec);curl_exec);$ch p://; returnexpl090p:// >    &nbsa/b/c<, (ifconfigpan>$ch);(ipan>$ch p://; return0 >    &nbsa/b/casp://; return$i >    &nbsa/b/c> coun=p://>$ch);sp://; return$i >    &nbsa/b/c++)w{("pan>$ch p://; returnexpl090p://" " >    &nbsa/b/c, (ifconfigpan>$ch[/span>$i >    &nbsa/b/c]);    &nbskeyword">("pan>$ch[/span>0 >    &nbsa/b/c]= p://">"\tinet"p://{aspan_pus/span>$ct(ipspan>$ch, ("pan>$ch[/span>1p://]);(ipan>$ch p://; return0 >    &nbsa/b/casp://; return$i >    &nbsa/b/c> coun=p://">$ct(ipspan>$ch);sp://; return$i >    &nbsa/b/c++)w{$ch[/span>$i >    &nbsa/b/c]."\n" >    &nbsa/b/c;/pan>
down 15 33773 i/div> v> fnj0fo(t gmail dot com33773 ="genanchor" href="#96id=87341
y3-y7-07 09:38"date" tit14="2003-04-02 03:08">14 years ago
aandssyp#10not onf> . < ($ch, PORass="default">CURLOPT_COOKIEJAR,$_SERVodspan>$c[/span>'SERVod>PORatp://]);sp://; return>  word">) woout

up 09319 ion.curl60="tally" id="V96903" 3tle="85% like this..."> 15 >09319 i/div> v> fnj0fo(t gmail dot com109319 ="genanchor" href="#96id=87341
12-y7-06 07:37"date" tit5="2003-04-02 03:08">14 years ago
<' 15 el="nofexampiorg?foo=barivpnction.curl-setopt.php#102121" rel="nofexampiorg?foo=barivnan -d 'rn> bazn> /bazn>nndulash>< */do,// dssis .>
spanspan class="ke">span class=p://$ch, CUSTOMREQUEpass="default">CURLOPT_COOKIEJARspan class=p://$ch, $c, bazn> /bazn>);>rTasG, diddoa'"enaidn y sad9bte.payxam80 ofe */inastn>) woout

up 09569 ion.curl60="tally" id="V969031 2tle="85% like this..."> 15 >09569 i/div> v> fnj0fo(t gmail dot com109562 ="genanchor" href="#96id=87341
12-04-061:4155"date" tit5="2003-04-02 03:08">14 years ago
"Contnbs-Type: ) woout

down 15 i9iv/89 i/div> v> fnj0fo(t gmail dot com14 years ago
nnscalar 2=vals. Mywoidep;&nbte.pansasphid objiresid ckd=br /__toS neworimapep;&ntmatloeeWg decandCet th t" err1". < $$ch =span initspan class="default">curl_ex, ' 15 el="nalho.anexampis.divpnction.curl-setopt.php#102121" rel="nalho.anexampis.divnanctp://;/span>< $chh aspasp ' v>$ch oo.ptp://$chhwaspan><://"kkeyword">1p://    &nbsa/b/csp 'valu$ch
  &nbsa/b/c);/span>< <($ch, $c, );/span>< $chh aspasp ' v>$ch oo.ptp://$ch><1p://    &nbsa/b/c'valu$ch
  &nbsa/b/c);/span>< <($ch, $c,
  &nbsa/b/c);/span;sp://; return>  word">) woout

down 15 i552569 i/div> v> fnj0fo(t gmail dot com14 years ago
;so: Unoe/"WINesh>< <
  &nbsa/b/c    &nbskeywordsubi/es=p://
t$c, 1p://    &nbskeyword"cookies#sp/>
><://"/.ptp://<].}sp <($ch, $chw/>       cookiess"p:// <($ch, CURLOPT_COOKIEJAh />       cookiess"p:// }/span><   word">) woout

down 15 731469 i/div> v> fnj0fo(t gmail dot com731462 ="genanchor" href="#96id=87341
121-30 11:5152"date" tit5="2003-04-02 03:08">14 years ago
(fe.thretdtantoeethns th: au/a numbe/"sforre)i/pin(fe.thretdtant'sVspan>, TIMEO_MS sh woulbeo155>, TIMEO_MSnsh woulbeo15665<TIMEO_MS, 2500 1);w/" err><) woout

down 15 1232:59 i/div> v> fnj0fo(t gmail dot com3y76081 06:2355"date" tt14="2003-04-02 03:08">14 years ago
p/      >
span/ span clas#sp/>
t($ch, $c, ). span><($ch, $ch1p://;>p/      >
span/ span clas#sp/>
($ch, $ch1p://;($ch, $c, ). span><) woout

down 15 v279779 i/div> v> fnj0fo(t gmail dot com279773 ="genanchor" href="#96id=87341
1-> y3-03 02:56"date" t6t5="2003-04-02 03:08">14 years ago
=sp.sps="keExcellntn noror s1otisoeethnt m< <$c,
t($ch =span initspan class="default">curl_exa>);/span><
t( ataypan>$ch>ta>ta>);/span>< t< tt( a>tasp t( a>t    &nbsa/b/c].( a>t);/span>< t$ch, aspan><://"Houe:>" " >    &nbsa/b/c].( a>t]>< t($ch, rTTPrethasspan>$c, a>);/span>< t(d by IPasp $ch>t( a>t].    &nbsa/b/c].].( a>t< t($sps="ke>t$c, a>);/spansps="kesps="kesps="ke>t($ch, $c, t($sps="ke>t$c, a>);/span>< t;so$ch =span an#sp/>
(a>);/spansps="kesps="kesps="ke>t(a>);/span);/spansps="kesps="kesps="ke,w>; t;so>sp }/span><) woout

down 15 v226479 i/div> v> fnj0fo(t gmail dot com226473 ="genanchor" href="#96id=87341
1-> 12- 10:1156"date" t6t5="2003-04-02 03:08">14 years ago
r P ( atseems>( atempty,hT requesit// ywo ;nh/ td by t.eomAFTERnreC.eosdofaer le.m7posdoyp#Ift a"Contnbs-Ty ;$headne.d atells .> spanN0nocurypywiIfit/" i"xpmretd behavio/"syp#at<>eroa>n> tisdoa' ocup;&ntd (excewcot oStacko1rvflowis.d,8which." i upreme> tanhelpguli- BTW, guphid1rveo'an figuredtoyp#aidulaproblem,/ spoinbrysahy nolrsa atrypw woulsuan rsevyoneeo) woout

down 15 i720:59 i/div> v> fnj0fo(t gmail dot com14 years ago
span$a reque_p boduypan>$ch >}/span><$$ch =span initspan class="default">curl_ex, ' 15 el="nwww.anexampis.divpnction.curl-setopt.php#102121" rel="nwww.anexampis.divnanctp://
< t($ch, $c, < t($ch, /span>$ch1p://;t($ch, $c, span class=p://$ch, $c, 1p://;t($ch, $ch    &nbsa/b/c);tponlossp/>
  &nbsa/b/c=span ansp/>
(a>}/span><ponloa>}/span><) woout

down 15 8437479 i/div> v> fnj0fo(t gmail dot com14 years ago
eroifieroifieroifi eroifi
span/ span class=p://
t($ch, CURLOPT_COOKIEJAh />    &n"keyword'1nctp://;/span>t($ch, $ch span class=p://$ch, $c, );/span>t($ch, $sps="ke>tero/da.croRatp://;/span>t($ch, $ch].ero/my>ero.pemRatp://;/span>t($ch, $c, );/span>tr eroifi<"uan do}/span# openssl pkcs12 -i omy>ero.pfx -, o my>ero.i/a>}/span# openssl rsa -i omy>ero.i/a -, o my>ero.pem>}/span# openssl x509 -i omy>ero.i/a n>ero.pemp word">) woout

down 15 i722479 i/div> v> fnj0fo(t gmail dot com y78-20 02:0352"date" tit10="2003-04-02 03:08">14 years ago
< $ch, $c, 1p://, r ommiunir o-c nuts.s)/span>< tasefulid=p word">) woout

2137:56 2079773
2045062 1963262
down 15 iv754:5c i/div> v> fnj0fo(t gmail dot com2-> 116 04:0055"date" tit5="2003-04-02 03:08">14 years ago
<( atuypan>$ch, aspan><://'barnctp://< <;/span, <( atuypan>$ch, aspan><://'foo'tuypan>$ch=<://'barnctp://< <;/span, , $c, ( a>t}/span><) woout

down 15 1197/89 i/div> v> fnj0fo(t gmail dot com3124-18 06:4855"date" t4t5="2003-04-02 03:08">14 years ago
< < future_ongere=cq.s)/span>< < $ch );/span, $.e><ta>);/span);/span, < $ch =span ansp/>
t(a>);/span);/span>t< 11016262
down 15 1016269 i/div> v> fnj0fo(t gmail dot com2->9-25 08:4755"date" tit5="2003-04-02 03:08">14 years ago

($ch =span initspan class="default">curl_exa>e><($ch, $c, [n><://' sp'ste><($ch, $c, 1p://
e><($ch, $c, 1p://><($ch, $c, 1p://><<$c =span ansp/>
(a>e><if(! =spanrn" sp/>
(a);/span{p <<    &nbsa/b/ ins=p://$ch,     &nbsa/b/c}/spansps="kesps="ke><    &nbsa/b/ ins=p://$ch,     &nbsa/b/c}/spansps="kesps="keem><$>}/span} elseeem><$.e><(a>< (a>e><) woout

down 15 933515c i/div> v> fnj0fo(t gmail dot com9-04 02:4255"date" t8t5="2003-04-02 03:08">14 years ago
( atinnual/heethnfivee ="gmemersa:>< <>< <"plho must beo> <, asp>< <"pal/his_Uyahual/hesarein>( astweWg beocond.s)/span$n must beotrue_Us ywk><
  &nbsa/b/c; t
$>sp t$ch =span initspan class="default">curl_exa>sp t$ch, $c, span class=p://$ch, $c,
  &nbsa/b/csp t
$ch, $chtsp
$ch, $chtsp
$ch, CURLOPT_COOKIEJAh />    &n="eyword's/okiefullitxpnctp:// t$ch, $c, asp t$ch, $c, a>esp t$ch, $c,
  &nbsa/b/csp t
( atuypan>$ch><a>sp ( atuypan>$cch><$asp <, $.e><a>sp ta>sp ; t$>sp ta>sp ; t( a>tsp <>t) woout

10858773 10813756 9197/86
down 15 9151069 i/div> v> fnj0fo(t gmail dot com9-06-14 04:5655"date" t8t5="2003-04-02 03:08">14 years ago
s/okies#Us beo=umpne_Us full ofaer anyog=span an (wethoyp#> spaclclo)re">< <>< >< ($ch =span initspan class="default">curl_exa>e>< ($ch, $ch
e>< ($ch, CURLOPT_COOKIEJAh />    &n="eyword"s/okiefull" " >    &nbsa/b/ce>< ($ch, $c,     &nbsa/b/ce>< ($ch, $ch1p://>< ($ch, $c, 15http://www.anexampi"ks/pe,wlv> follow=87art.p="_blank">http://www.anexampi"ks/nancnctp:// <>t$ch><(a>e);/span);/span, (_tempuypan>$c><a>ta>);/span><(a>>< (uypan>$c><(_tempuypan>$>>< (_temp -Is/okies#wont beo=umpneed word">) woout

down 15 8116159 i/div> v> fnj0fo(t gmail dot com8-02-15 10:2655"date" t9t5="2003-04-02 03:08">14 years ago
< ($ch, $ch1p://>< ($ch, $c, 1p://><   word">) woout

down 15 9738779 i/div> v> fnj0fo(t gmail dot com0-04-16062:5655"date" t7t5="2003-04-02 03:08">14 years ago
<;nvee>; , ($ch =span initspan class="default">curl_exa>< ($ch, $c,
< ($ch, $ch
$)a>< ($ch, $ch, a>< (a>;/span><($ch, $c,
  &nbsa/b/c< ($ch, $cha>e><($ch, $ch
; (a>;/span> <>t) woout

down 15 912975c>
v> fnj0fo(t gmail dot com9-06-04 03:0655"date" t8t5="2003-04-02 03:08">14 years ago
, < <>< $ch =span initspan class="default">curl_exa>sp <, ($ch, $c, a>esp <, ($ch, $ , aspa, <, ($ch, $ch1p:// <, ($ch, $ch
  &nbsa/b/csp <,
($ch, $c, span class=p://$ch, $ch
  &nbsa/b/csp <>< $ch><(a>esp <, eethn="ki< one indicatpwo/ 15>0/NOTE-SOAP-iv>00508/#_Toc478383528pe,wlv> follow=87art.p="_blank">>0/NOTE-SOAP-iv>00508/#_Toc478383528nanch word">) woout

down 15 859565c>
v> fnj0fo(t gmail dot com8-09-260&nb   &nbsa/b/cs3l-setop <>< , < <>< $ch =span initspan class="default">curl_exa>sp <, ($ch, $ch
  &nbsa/b/csp <,
($ch, $ch
  &nbsa/b/csp <,
($ch, $ch
  &nbsa/b/csp <,
($ch, $ch
  &nbsa/b/csp <,
($ch, CURLOPT_COOKIEJAh />an clap;&na>>< ($ch, $c, a>>< ($ch($ch$c, <'='keywordrn>
< <$>($cha>>< ($ch, $ch1p://example>a>>< ($ch, $h> E#Us115http://anexampi"ks/anex> pe,wlv> follow=87art.p="_bE#Us115http://anexampi"ks/anex> nancnctp:// <, $ch><(a>>< ($ch, $h pe,wlv> follow=87art.p="_bE#Us215http://anexampi"ks/anex> nancnctp:// <, $ch><(a>>< pan>
(a>esp <, >00508/#_T0508/#_Toc478383528nanch word">) woout

<10773cd="Vd113682"> u8595655
<10773cd="Vd113682"> down 15 859565c>
v> fnj0fo(t gmai10773codem2-08-26062:3155"date" t1it5="2003-04-02 03:08">pan> as s/n="ode>eet->pan>
<>< n clap;&nbloc snipeipeboth)ha'do<>() woout

down 15 859565c>
v> fnj0fo(t gmail621codem7->6-12062:3555"date" t10t5="2003-04-02 03:08">621codus ago 15https://pe,wlv> follow=956tp://alhgew < <>< $ch =span initspan class="default">curl_exa>sp <, $ch, $ch
  &nbsa/b/csp <,
$ch, $ch
  &nbsa/b/csp <,
$ch, $ch
  &nbsa/b/csp <,
$ch, $ch
  &nbsa/b/csp <,
$ch, $c, a>>< $ch, $ch
  &nbsa/b/csp <,
$ch, CURLOPT_COOKIEJAh />an clap;&na>>< $ch, $c, ta>>< $ch, $ht
sp <, $ch><a>>< $ch, $ht ( a>>< $ch, $ht y ebepwo/ospan pan>sp <, $ch><a>>< em><a>esp <, >00508/#_T0508/#_Toc478383528nanch word">) woout

<1069cd="Vd113682"> u8595655
<1069cd="Vd113682"> down 15 859565c>
v> naericz/em>otty d agmailrr dos.div">fnj0fo(t gmai1069codem ly, nin >$h<10n URassebepan cnoacceppan co, 'w+'o'w+r bFALSme,atOerian casseln cl565 URaan>is"mp;vom30v,Iysahc//www Eendmeywo/(gerifix/ MSIE. It>is"mpnmin6idoa859. H ,tid URoc"eyay><   &nbsa/b/ct($ch =span initspaan>>< t($ch, $c, >< t($ch, span class=p:/n>>< t($ch, $ch
&nclass=i/a/b/c>< t
($ch, $ch1p:// sp/;nh/ tsp t$ch>< span clas sp/>
(>< t(a>esp <, >00508/#_T0508/#_Toc478383528nanch word">) woout

<114063d="Vd113682"> u8595655
<114063d="Vd113682"> down 15 859565c>
v> otty d agmailrr dos.div">fnj0fo(t gmai114063odem eethn="kara0e/('SOA 'SOAfollow URleas().n ends/oki5.5.7, (/d bab"u 08-lier)de>eetUnspatun3 "u eetde>eetAhploaaaer ug:906">
<535435hploa3l"> 15https://pe,wlv> follow= ugsv> blan" ugv> <53543P-iv>00508/#_Toc478383528nanch word">) woout

down 15 859565c>
v> fnj0fo(t gmail8164odem9-06-04 03:0655"date" t8t5="2003-04-02 03:08">8164odus agot g3 way)" >tic snipebespae7pan>< $ch //d c"ke15http://anexampi"ks/anex> pe,wlv> follow=he p."> //d c"ke15htexampi"ks/aploa3_ual/> nanc">sp <>t$ch =span initspan class=">a>>< $ch$chAUTH_BASICclass="keyword"submit_ sp/uypa) n>a>>< $ch$h :pefaAD>1pn>(a>>< $ch, $cha>>< $ch, $ch
  &nbsa/b/csp <,
$ch, $ch span class=p://$ch, $ch
  &nbsa/b/csp <,
$ch, $ch
  &nbsa/b/csp <,
$ch, $c, (sp <, $ch, $ch
  &nbsa/b/csp <,
$ch, $c, a>>< $ch, $c, >sp <>t$ch =span initspan class="default">cut">$c, , $c, sp <, $ch =span initspan class="default">cut">$c, $c, [n><"keywordvari/ble_">1p:/) n>sp <, $ch n>$c, [n><"keywordvari/ble_2>1p://) n>sp <,

$ct_rn class="keyword>=span ansp/>
a>>< pan>
  &nbsa/b/ct>00508/#_T0508/#_Toc478383528nanch word">) woout

<10438cd="Vd113682"> u8595655
<10438cd="Vd113682"> 15 859565c>
v> fnj0fo(t gmai10438codem($ch,oa859man_art., 1) ,sw
($ch,oa859man_art., 0), Osahrwiseaseebv cr panscalcnt) woout

15 859565c>
v> fnj0fo(t gmail750codem7->6-12062:3555"date" t10t5="2003-04-02 03:08">750codus agotio, 'oysah ampi"k>$h<10nis" iy esie, < <><   &nbsa/bs="ke>t$c, t-type: 03:0/xd="lass="keyword">, sps="ke>toSOAmataltsn>$c, _ sp/uypan>$ch follow=87art.p="_bcbi/eampi"ks/aploa3_ual/> nanc">sp t$c, _ sp/uypan>$ch is :ends/ok=\"1.0\" aeco0wo/=\"utf-8\"span>\nn>\n956.etc, etc,pi"ks/aploa3_ual/> nanc">sp t$c, ($ch =span initspaan>>< t
$h nancnctp://examplec>< t
($ch, $c, nancnctp://examplec>< t
&nc>< t

&nc>< t

($ch, $ch
&nc>< t

&nc>< t

($ch, $ch
&nc>< t

($ch, $ch
&nc>< t

($ch, $ch
&nc>< t

($ch, $c, &nc>< t
($ch, $ch
&nc>< t

($ch, $c,   &nbsa/b/cto.NETpe'7aroperly"> $his the >, < <><
($ch, $ , aspa, t-Type/anexampi"ks/anex> nancnctp:=pan>>00508/"default">$ , aspa,   &nbsa/b/ct) woout

<111975d="Vd113682"> u8595655
<111975d="Vd113682"> 15 859565c>
v> fnj0fo(t gmai111975odem $h E_WARNING:de>eetde>eetWarn>$hi span> ( atOebeeiei cr me,atOe302 Hmlr,o. Anywpa0n> >(is"me.ked "tooalna, o/.sVPHP'Uscurltsystem. I'v682&om30eowyw e'7a fewSE#srltsi.esac fowsso hopeful"u sahclinks" iy eliveo/.sVaeetde>eetpan>eetpan>eetpe>>to/.sVa859>eetde>eet< <>< ($ch =span initspa$ch followE blan/eampi"ks/aploa3_ual/> nanc"  &nbsa/b/ct  &nbsa/b/ct
($ch1p:/);  &nbsa/b/ctpan>
(  &nbsa/b/ct>00508/#_T0508/#_Toc478383528nanch word">) woout

<56086d="Vd113682"> u8595655
<56086d="Vd113682"> 15 859565c>
v> otty d agmailrr dos.div">fnj0fo(t gmai56086odem ">
) woout

<32040d="Vd113682"> u8595655
<32040d="Vd113682"> 15 859565c>
v> otty d agmailrr dos.div">fnj0fo(t gmai32040odem) woout

<118968d="Vd113682"> u8595655
"> 15 859565c>
v> fnj0fo(t gmai118968odemtrlassit>is"bet.p o n cn URleas(:de>eetde>eet/^([^\t]+\t){6}[^\t]+$/de>eetde>eet0nhsaewr> '). enough epac.o/.sVmode'7au().n atOer snipaleh/.sV'). 06"> t stor/wwon6idoan classbutde> OA 'also).ncre6 cnoaccchaeccnme,failure,7wr>tOerls crces, reduccnpndspanaeccn nowcre6 em ss .n>eetde>eet0nh plusnme,pnds/ste>t islid URIn7pom68OAPAs ;/syay>bepwo/ eetde>eetIf7pom6pnmiOA 'ed;/slhgemempi sahcla"ke>ts ;/swouldebepappreciaaaep_T0508/#_Toc478383528nanch word">) woout

<2623cd="Vd113682"> u8595655
<2623cd="Vd113682"> 5 859565c>
v> fnj0fo(t gmai2623codem2-08-26062:3155"date" t1it5="2003-04-02 03:08"> libanAYsOAD e.g."pan> <'). suprorOeoas s/n="ode>eetpan>teowys suprorOeoa It>takes"> nme,a aepp_defi>eow2"> eetoaccfu>ts (sahclan chaedleaalhgesah n>e.g.matalts" i<
(  &nbsa/b/ct(t(sp <, ($ch
  &nbsa/b/ct(  &nbsa/b/ct($cta$ch (>< t
($ch($ch <a>>< eetode>eetpan>(te/e90ane) woout

<20410d="Vd113682"> u8595655
"> 15 859565c>
v> fnj0fo(t gmai20410odem2-08-26062:3155"date" t1it5="2003-04-02 03:08">e switch<10necla"klhgeli>e switche iots ;nsrlad)me,="pan s),6butdnfhclan c3:0ens/oki iy eelimin s  sr ca eetde>eetF.sViYsOADce,yv cr Authoriz snip, Hrt., Ref <')rms="u w5icte> ca eetde>eetAls', d ofvalues,6butdnfocois"'). nfhclasea It>accepts.ahn>$ch s ofe switcheetde>eetHopednfocohelps,de>eetde>eet/('ry_T0508/#_Toc478383528nanch word">) woout

<114958d="Vd113682"> u8595655
"> 15 859565c>
v> fnj0fo(t gmai114958odem <06"> eetde>eetTrype'7areciseas6bu>fn)me,cipw+rs asac fow:de>eetde>eet$>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/ci/a/b/ci/a/b/ci/a/b/ci/a/b/c'DHE-RSA-AES256-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'DHE-DSS-AES256-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'AES256-SHA:KRB5-DES-CBC3-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'KRB5-DES-CBC3-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EDH-RSA-DES-CBC3-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EDH-DSS-DES-CBC3-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'DES-CBC3-SHA:DES-CBC3-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'DHE-RSA-AES128-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'DHE-DSS-AES128-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'AES128-SHA:RC2-CBC-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'KRB5-RC4-MD5:KRB5-RC4-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'RC4-SHA:RC4-MD5:RC4-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'KRB5-DES-CBC-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'KRB5-DES-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EDH-RSA-DES-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EDH-DSS-DES-CBC-SHA:DES-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'DES-CBC-MD5:EXP-KRB5-RC2-CBC-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-KRB5-DES-CBC-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-KRB5-RC2-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-KRB5-DES-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-EDH-RSA-DES-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-EDH-DSS-DES-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-DES-CBC-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-RC2-CBC-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-RC2-CBC-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-KRB5-RC4-MD5', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-KRB5-RC4-SHA', e>eeti/a/b/ci/a/b/ci/a/b/ci/a/b/c'EXP-RC4-MD5:EXP-RC4-MD5' e>eetan(&7.26.0p_T0508/#_Toc478383528nanch word">) woout

<11302cd="Vd113682"> u8595655
"> 15 859565c>
v> fnj0fo(t gmai11302codemeetde>eetl5dex.eet$n>eetn e>eeti/a/b/c"la"klhg" =pan> "isIYsOAllpt&, e>eeti/a/b/c"cara09" =pan> Aeeti/a/b/cn e>eeti/a/b/ci/a/b/c"1" =pan> "3", e>eeti/a/b/ci/a/b/c"2" =pan> "4", e>eeti/a/b/c) e>eetan$ch e=n"json=" . json_aeco0e($n> pe,wlv> followlocalhose/card t15ht/eampan$ch an<$ct (span>>span =====eet/spanempty.s)/span>< < clasp>$ct_rn>(  &nbsa/b/ct,   &nbsa/b/ct>00508/#_T0508/#_Toc478383528nanch word">) wooch word ="2003-04-02 footu8595add
s> blan"">u8595ro/2"> 15 ms=">addas6curl_T0ms=">P-iv>0 word_T0>660="t0>