ScotlandPHP

curl_setopt

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

curl_setoptSet an option for a cURL transfer

Descrierea

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

Sets an option on the given cURL session handle.

Parametri

ch

Un handle cURL întors de curl_init().

option

The CURLOPT_XXX option to set.

value

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_FTPASCII An alias of CURLOPT_TRANSFERTEXT. Use that instead.
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.
CURLOPT_NOPROGRESS

TRUE to disable the progress meter for cURL transfers.

Notă:

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_PUT TRUE to HTTP PUT a file. The file to PUT must be set with CURLOPT_INFILE and CURLOPT_INFILESIZE.
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.
CURLOPT_CLOSEPOLICY One of the CURLCLOSEPOLICY_* values.

Notă:

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).
CURLOPT_HTTPAUTH

The HTTP authentication method(s) to use. The options are: CURLAUTH_BASIC, CURLAUTH_DIGEST, CURLAUTH_GSSNEGOTIATE, CURLAUTH_NTLM, CURLAUTH_ANY, and CURLAUTH_ANYSAFE.

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.

CURLAUTH_ANY is an alias for CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_GSSNEGOTIATE | CURLAUTH_NTLM.

CURLAUTH_ANYSAFE is an alias for CURLAUTH_DIGEST | CURLAUTH_GSSNEGOTIATE | CURLAUTH_NTLM.

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.
CURLOPT_PROTOCOLS

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.

Valid protocol options are: CURLPROTO_HTTP, CURLPROTO_HTTPS, CURLPROTO_FTP, CURLPROTO_FTPS, CURLPROTO_SCP, CURLPROTO_SFTP, CURLPROTO_TELNET, CURLPROTO_LDAP, CURLPROTO_LDAPS, CURLPROTO_DICT, CURLPROTO_FILE, CURLPROTO_TFTP, CURLPROTO_ALL

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_PROXYTYPE Either CURLPROXY_HTTP (default), CURLPROXY_SOCKS4, CURLPROXY_SOCKS5, CURLPROXY_SOCKS4A or CURLPROXY_SOCKS5_HOSTNAME. Added in cURL 7.10.
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.
CURLOPT_SSLVERSION One of CURL_SSLVERSION_DEFAULT (0), CURL_SSLVERSION_TLSv1 (1), CURL_SSLVERSION_SSLv2 (2), CURL_SSLVERSION_SSLv3 (3), CURL_SSLVERSION_TLSv1_0 (4), CURL_SSLVERSION_TLSv1_1 (5) or CURL_SSLVERSION_TLSv1_2 (6).

Notă:

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_SSH_AUTH_TYPES A bitmask consisting of one or more of CURLSSH_AUTH_PUBLICKEY, CURLSSH_AUTH_PASSWORD, CURLSSH_AUTH_HOST, CURLSSH_AUTH_KEYBOARD. Set to CURLSSH_AUTH_ANY to let libcurl pick one. Added in cURL 7.16.1.
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.
CURLOPT_CUSTOMREQUEST

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.

Notă:

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

CURLOPT_DEFAULT_PROTOCOL

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.
CURLOPT_DNS_INTERFACE

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.
CURLOPT_DNS_LOCAL_IP4

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.
CURLOPT_DNS_LOCAL_IP6

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/id_dsa.pub if the HOME environment variable is set, and just "id_dsa.pub" 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.
CURLOPT_SSLKEYPASSWD

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

Notă:

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("example.com:80:127.0.0.1") 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.
CURLOPT_PROGRESSFUNCTION

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.

Notă:

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.7 Introduced CURL_HTTP_VERSION_2, CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, CURL_HTTP_VERSION_2TLS, CURL_REDIR_POST_301, CURL_REDIR_POST_302, CURL_REDIR_POST_303, CURL_REDIR_POST_ALL, CURL_VERSION_KERBEROS5, CURL_VERSION_PSL, CURL_VERSION_UNIX_SOCKETS, CURLAUTH_NEGOTIATE, CURLAUTH_NTLM_WB, CURLFTP_CREATE_DIR, CURLFTP_CREATE_DIR_NONE, CURLFTP_CREATE_DIR_RETRY, CURLHEADER_SEPARATE, CURLHEADER_UNIFIED, CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_MAX_TOTAL_CONNECTIONS, CURLOPT_CONNECT_TO, CURLOPT_DEFAULT_PROTOCOL, CURLOPT_DNS_INTERFACE, CURLOPT_DNS_LOCAL_IP4, CURLOPT_DNS_LOCAL_IP6, CURLOPT_EXPECT_100_TIMEOUT_MS, CURLOPT_HEADEROPT, CURLOPT_LOGIN_OPTIONS, CURLOPT_PATH_AS_IS, CURLOPT_PINNEDPUBLICKEY, CURLOPT_PIPEWAIT, CURLOPT_PROXY_SERVICE_NAME, CURLOPT_PROXYHEADER, CURLOPT_SASL_IR, CURLOPT_SERVICE_NAME, CURLOPT_SSL_ENABLE_ALPN, CURLOPT_SSL_ENABLE_NPN, CURLOPT_SSL_FALSESTART, CURLOPT_SSL_VERIFYSTATUS, CURLOPT_STREAM_WEIGHT, CURLOPT_TCP_FASTOPEN, CURLOPT_TFTP_NO_OPTIONS, CURLOPT_UNIX_SOCKET_PATH, CURLOPT_XOAUTH2_BEARER, CURLPROTO_SMB, CURLPROTO_SMBS, CURLPROXY_HTTP_1_0, CURLSSH_AUTH_AGENT and CURLSSLOPT_NO_REVOKE.
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.3.0 Introduced CURLOPT_PROGRESSFUNCTION.
5.2.10 Introduced CURLOPT_PROTOCOLS, and CURLOPT_REDIR_PROTOCOLS.
5.2.4 Introduced CURLOPT_PRIVATE.
5.1.0 Introduced CURLOPT_AUTOREFERER, CURLOPT_BINARYTRANSFER, CURLOPT_FTPSSLAUTH, CURLOPT_PROXYAUTH, and CURLOPT_TIMECONDITION.
5.0.0 Introduced CURLOPT_FTP_USE_EPRT, CURLOPT_NOSIGNAL, CURLOPT_UNRESTRICTED_AUTH, CURLOPT_BUFFERSIZE, CURLOPT_HTTPAUTH, CURLOPT_PROXYPORT, CURLOPT_PROXYTYPE, CURLOPT_SSLCERTTYPE, and CURLOPT_HTTP200ALIASES.

Exemple

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

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

// set URL and other appropriate options
curl_setopt($chCURLOPT_URL"http://www.example.com/");
curl_setopt($chCURLOPT_HEADERfalse);

// grab URL and pass it to the browser
curl_exec($ch);

// close cURL resource, and free up system resources
curl_close($ch);
?>

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

<?php

/* http://localhost/upload.php:
print_r($_POST);
print_r($_FILES);
*/

$ch curl_init();

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

curl_setopt($chCURLOPT_URL'http://localhost/upload.php');
curl_setopt($chCURLOPT_POST1);
curl_setopt($chCURLOPT_SAFE_UPLOADfalse); // required as of PHP 5.6.0
curl_setopt($chCURLOPT_POSTFIELDS$data);

curl_exec($ch);
?>

Exemplul de mai sus va afișa:

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

)

Note

Notă:

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

up
152
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:

http://curl.haxx.se/docs/caextract.html

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

curl.cainfo=c:\php\cacert.pem

Turning off CURLOPT_SSL_VERIFYPEER allows man in the middle (MITM) attacks, which you don't want!
up
26
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.

Example:

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

   if(
$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);
     
curl_exec($ch);

     
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);

     
curl_close($ch);

      return (int)
$status;
   }
   else
   {
      return
false;
   }
}

if(
doPut('http://example.com/api/a/b/c', array('foo' => 'bar')) == 200)
  
// do something
else
  
// do something else.
?>

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

<?php
if($_SERVER['REQUEST_METHOD'] == 'PUT')
{
  
parse_str(file_get_contents('php://input'), $requestData);

  
// Array ( [foo] => bar )
  
print_r($requestData);

  
// Do something with data...
}
?>

DELETE  can be done in exactly the same way.
up
21
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.

-Philippe
up
18
joey
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:

    /^([^\t]+\t){5}[^\t]+$/D

Here is the format:

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

    char *my_cookie =
      "example.com"    /* 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 */
up
15
badman
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 (http://us2.php.net/manual/en/function.curl-setopt.php#102121) 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;
  do
  {
    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));
      curl_close($ch);

      $maxRedirection--;
      continue;
    }
    else // no more redirection
    {
      $code = 0;
      curl_close($ch);
    }
  }
  while($code);
  return $curlResult;
}
up
10
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:

<?php

function write_function($curl_resource, $string)
{
    if(
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)."");
    }
   
    print
$string;

    return
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.
up
11
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

-dw
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

-dw
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
  
&nbkeyword">(
_ 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)));
       fan>curl_close(f/span>$c/span>)));
);
       $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>)));
)SOAPAclass="\"run\).",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
($ch, TIMEOU"default">CURLOPT_CUSTOMREQUEST
,6span>2000);
       span class="default"><?php curl_setopt
($ch, CURLOPT_HTTPHEADER, this vpan>2000);
       span class="default"><?php curl_setopt
($ch, USERAGEN"default">CURLOPT_CUSTOMREQUEST
,$at:200R = cuUSER_AGEN"class="string">'REQUEST_METHOD'0);
);
    &nbssp;  );
       span class="default"><?php curl_setopt
($ch, bsp;efault">CURLOPT_RETURNTRANSFER
,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">)
    {
    &nbskeyword">
curl_close($ch<   {
);
}

) word">) woout

-dw
<52675
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 ;

<?php
functionopt($ch, CCthe reqpan class="default">curl_close(rd $chsp;
    print heade)keyword">)
 DE);/span>=; {
&pan class="default">curl_close
/^stea/itp://example.com/api/a/b/c'    print heade))keyword">)
    {
    print
headerheade));
       
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 />">http://example.com/api/a/b/c;pan class="keyword">);
}

$ch = curl_init/span>       span class="default"><?php curl_setopt(rd $chsp;
    print
$ch    print $c/span>       span class="default"><?php curl_setopt(rd $chsp;
    print
BINARYclass="default">CURLOPT_RETURNTRANSFER
,1nt-Description: File Transfer'       span class="default"><?php curl_setopt
(rd $chsp;
    print
methods:
span>$chsp;
  &nbkeyword">opt($ch, CCthe reqent-Description: File Transfer'
       span class="default"><?php curl_setopt
(rd $chsp;
    print
sAILONERRORefault">CURLOPT_RETURNTRANSFER
,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

-dw
<61395
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://example.com/api/a/b/c;pan cla/span>, ) woout

-dw
622>
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

-dw
<10323
up 0323 ion.curl78="tally" id="V96903" 8tle="85% like this..."> 15 0323 i/div> v> badman
14 years ago
<1
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://example.com/api/a/b/c
DE);!is113e(_GE;efault">CURLOPT_RETURNTRANSFERfooclass="string">'REQUEST_METHOD'0) {span>);
    &nbssp;  );
       $
$ch = curl_initI try to use zsal; &lcode/;fun/;fun_rareout http://example.com/api/a/b/c<);
       span class="default"><?php curl_setopt
($ch, CURLOPT_RETURNTRANSFER,e<);
       span class="default"><?php curl_setopt
($ch, NOSIGNALefault">CURLOPT_RETURNTRANSFER
,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
1/span>200);
"Dder.u>$stringspan><}/span>}
) word">) woout

-dw
<5999>
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://example.com/api/a/b/c>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://example.com/api/a/b/cis_/span"default"><?php curl_setopt(val/sp://example.com/api/a/b/c<)l(va va$status =_REA_is">ap"default"><?php curl_setopt(val/sp://example.com/api/a/b/ch />       $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://example.com/api/a/b/c< "&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

-dw
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
($ch, FRESH_CONNEC;efault">CURLOPT_RETURNTRANSFER
,1nt-Description: File Transfer', ) woout

-dw
<9908
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

-dw
<1<7146
<11044
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

-dw
<95027
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://example.com/api/a/b/c>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<);
       $metraeva$status=e/span><);
       preg_metra"default"><?php curl_setopt
'/(p;  |URI:)(.*?)\n/tp://example.com/api/a/b/c, />       $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")));
=$<CURLOPT_COOKIEJA"an>)));
;

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

    return$bodupan>200 ) woout

-dw
<64447
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

-dw
<114475
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

-dw
<9849>
/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

-dw
<1<833> < class="text" id="Hcom30906">
eclersoeCurl eeosby i"s bssuer (i.e., roit las/.)we andspan> 15 el="nofpublib.b to er.ibm.div/tividd/td/ITIM/SC32-1493-00/en_US/HTML/im451_curfig09.="punction.curl-setopt.php#102121" rel="nofpublib.b to er.ibm.div/tividd/td/ITIM/SC32-1493-00/en_US/HTML/im451_curfig09.="pnanchord">) woout

-dw
<42;
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)< />
    return
) woout

-dw
<53636
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

-dw
<116866
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://example.com/api/sp;  ,span class="default"><?php curl_setopt(rd r rcespan>$ch, ", />    &nbseyword">'progrd sCE dbacktp://example.com/api/a/b/c);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://example.com/api/a/b/c);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://example.com/api/sp; 
,span class="default"><?php curl_setopt(rd r rcespan>$ch, ", />    &nbseyword">'progrd sCE dbacktp://example.com/api/a/b/c);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://example.com/api/a/b/c) > =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

-dw
<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://example.com/api/a/b/c
,' 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://example.com/api/a/b/c);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://example.com/api/a/b/c,' w"oad_$ch spwortfspan class="default">curl_exec"\0%s.", />    &nbseyword">'@$c)we andan class="keyw",> pan> 15 el="nofbit.ly/AntMleunction.curl-setopt.php#102121" rel="nofbit.ly/AntMlenanchord">) woout

-dw
<102a21
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://example.com/api/a/b/c
) '' pan>$ch&&=oripan>span class="default">curl_exec'TION_o="H' pan>$ch 'Offtp://example.com/api/a/b/c)) 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://example.com/api/a/b/c); (newpanrpan>$ch =ywomn class="default">curl_getinfoaspan_popn class="default">curl_getinfo(metraesp://example.com/api/a/b/c)); ( 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 enmaximumyamoun1.tp://example.com/api/a/b/c,w/span>E_USER_WARNINGp://example.com/api/a/b/c); (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

-dw
<92522
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://example.com/api/a/b/c,w/span>'wtp://example.com/api/a/b/c); $cuypan>$ch =span initspan class="default">curl_exec/span>' 15 el="nofexampis.div/foounction.curl-setopt.php#102121" rel="nofexampis.div/foonanctp://example.com/api/a/b/c);/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://example.com/api/a/b/c<; >  word">) woout

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

-dw
<26797
<37530
<91952
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://example.com/api/a/b/c);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://example.com/api/a/b/c);span>,span class="default"><?php curl_setopt($ch, BUFFERStZ ss="default">CURLOPT_COOKIEJAR,128p://example.com/api/a/b/c);span>,$_atanpan>$ch =span an>curl_exec($c<;span sspan>    &nbskeyword">> pan>) woout

-dw
<60142
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

-dw
<118536
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

-dw
<87112
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://example.com/api/a/b/c] . />    &nbseyword">';apa, =/tp://example.com/api/a/b/c; 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

-dw
<107621
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://example.com/api/a/b/c<; (_atanpan>$ch ' v> ' pan>$ch 'sub v> ' pan>$ch 'subvaluetp://example.com/api/a/b/c<<; span class="default"><?php curl_setopt($ch, $ch />    &nbseyword">' 15 el="noflocE host/tlet pnction.curl-setopt.php#102121" rel="noflocE host/tlet nanctp://example.com/api/a/b/c);/span>,span class="default"><?php curl_setopt($ch, CURLOPT_COOKIEJAR,1p://example.com/api/a/b/c);/span>,span class="default"><?php curl_setopt($ch, $c, />       $_atap://example.com/api/a/b/c<; curl_exec($c<; >  word">) woout

-dw
<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

-dw
<117990
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://example.com/api/a/b/c,  word">) woout

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

-dw
<107667
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/ indfexampis_uwis.id=tp://example.com/api/a/b/c,w/span>'wtp://example.com/api/a/b/c); 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/exampis_uwis.id=unction.curl-setopt.php#102121" rel="nofexampis.div/exampis_uwis.id=nanctp://example.com/api/a/b/c);/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://example.com/api/a/b/c,w/span>'wtp://example.com/api/a/b/c)<;
    returnspan class="default"><?php curl_setopt
($ch, CURLOPT_RETURNTRANSFER,TRU ss="default">CURLOPT_COOKIEJA<;
    returnspan class="default"><?php curl_setopt
($ch, $ch />    &nbseyword">' 15 el="nofexampis.org/index.="phpnction.curl-setopt.php#102121" rel="nofexampis.org/index.="phnanctp://example.com/api/a/b/c);/span>,$="phnpan>$ch =span an>curl_exec($c<;w/span>>  word">) woout

-dw
<101231
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://example.com/api/a/b/c);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://example.com/api/a/b/c);span>( wdnpan>$ch =php wdspan class="default">curl_exec<;span>chdisspan class="default">curl_exec'/pa, /to/tp://example.com/api/a/b/c);span>(receivedDatanpan>$ch =span an>curl_exec($c<;span ss="keyw/span>chdisspan class="default">curl_exec( wdp://example.com/api/a/b/c);span>>  word">) woout

-dw
<98751
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

-dw
<88538
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://example.com/api/a/b/c)<;
    return>  word">) woout

-dw
<9631>
/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://example.com/api/a/b/com/ap,_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://example.com/api/a/b/c< { ) woout

-dw
<93630
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

-dw
<74709
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

-dw
<85044
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://example.com/api/a/b/ct($ch, CURLOPT_COOKIEJAR,1p://example.com/api/a/b/c);($ch, $c, />       $PostDatap://example.com/api/a/b/c<;span>> I rcund Wg, sondoe you cs ntnWg, s COOKI .s="keywJust3 docuoursesubtnd So watchk ut rcr.word">) woout

-dw
<62274
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://example.com/api/a/b/c] "@cd=.jpg"p://example.com/api/a/b/c; $ch[/span>'pictuIfs[1]tp://example.com/api/a/b/c] "@dog.jpg"p://example.com/api/a/b/c; ($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://example.com/api/a/b/c);/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

-dw
<57005
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://example.com/api/a/b/c);/span><
    returnspan class=wp://example.com/api/a/b/ct
($ch, CURLOPT_RETURNTRANSFER
,1p://example.com/api/a/b/c);/span>< ($ch, $c, />    &nbseyword">' ield v> 1= ieldvalue1/manu ield v> 2= ieldvalue2tp://example.com/api/a/b/c);/span><
    returnspan class=wp://example.com/api/a/b/ct
($ch, COOKI JAdefault">CURLOPT_RETURNTRANSFER
'dooki0.tsttp://example.com/api/a/b/c); c ;
;
(
$ch, CURLOPT_RETURNTRANSFER,1p://example.com/api/a/b/c);/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://example.com/api/a/b/c);/span>< (tontnbsapan>$ch =span an>t($c);/span>< span closewp://example.com/api/a/b/ct($c); /span>< <
    return>  word">) woout

-dw
<53445
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://example.com/api/a/b/c); ,$$ch =span initspan class="default">curl_exec<; ($ch, $ch />      return$panp://example.com/api/a/b/c); ($ch, rTTPrethodspan>$chw/>       $headersp://example.com/api/a/b/c);        tnis insteadp://example.com/api/a/b/ctt 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://example.com/api/a/b/c); ) woout

-dw
<11470
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://example.com/api/a/b/ct($ch, $ch/span>" 15 el="snofexampis.divpnction.curl-setopt.php#102121" rel="snofexampis.divncho"p://example.com/api/a/b/c); t($ch, USERAGENaefault">CURLOPT_RETURNTRANSFER"Mozilla/4.0 (sp;patibde; MSIE 5.01; Windows NT 5.0)"p://example.com/api/a/b/c); ) woout

-dw
<7131>
/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://example.com/api/a/b/c);t($ch, CURLOPT_RETURNTRANSFER, ruep://example.com/api/a/b/c);$ch curl_exec($c<;span ss="keyws="keyws="keyws="keywlistc(headerspan>$ch />      return$_atap://example.com/api/a/b/c< curl_exec"\n\n"p://example.com/api/a/b/ch />      return$_atap://example.com/api/a/b/ch />      return2p://example.com/api/a/b/c);$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://example.com/api/a/b/chw/>       $headerp://example.com/api/a/b/chw/>       $matchesss="default">CURLOPT_COOKIEJA<;(panypan>$ch <@parse_panp://example.com/api/a/b/ccywomp://example.com/api/a/b/ccaspan_popp://example.com/api/a/b/ct(matchesss="default">CURLOPT_COOKIEJA<)<;      return$panp://example.com/api/a/b/c)($ch 0 >    &nbsa/b/c;$_atap://example.com/api/a/b/c;(last_panypan>$ch =parse_panp://example.com/api/a/b/ccspan glainfop://example.com/api/a/b/ct($ch, EFFECTIVE>$c)<;      return$panp://example.com/api/a/b/c[/span>'schemetp://example.com/api/a/b/c])(panp://example.com/api/a/b/c[/span>'schemetp://example.com/api/a/b/c] 'schemetp://example.com/api/a/b/c];      return$panp://example.com/api/a/b/c[/span>'hosttp://example.com/api/a/b/c])(panp://example.com/api/a/b/c[/span>'hosttp://example.com/api/a/b/c] 'hosttp://example.com/api/a/b/c];      return$panp://example.com/api/a/b/c[/span>'pathtp://example.com/api/a/b/c])(panp://example.com/api/a/b/c[/span>'pathtp://example.com/api/a/b/c] 'pathtp://example.com/api/a/b/c];(new_panypan>$ch =(panp://example.com/api/a/b/c[/span>'schemetp://example.com/api/a/b/c] . />    &nbseyword">'://'ypan>$ch. />    &nbskeyword">(panp://example.com/api/a/b/c[/span>'hosttp://example.com/api/a/b/c] . />    &nbskeyword">(panp://example.com/api/a/b/c[/span>'pathtp://example.com/api/a/b/c] . c(panp://example.com/api/a/b/c[/span>'querytp://example.com/api/a/b/c]?/span>'?tp://example.com/api/a/b/c.(panp://example.com/api/a/b/c[/span>'querytp://example.com/api/a/b/c]:/span>'tp://example.com/api/a/b/c);span class=p://example.com/api/a/b/ct($ch, $ch />      return$new_panp://example.com/api/a/b/c);debugspan class="default">curl_exec'Redirectl">ctotp://example.com/api/a/b/chw/>       $new_panp://example.com/api/a/b/c);;
curl_exec($c<;($ch p://example.com/api/keyword">0 >    &nbsa/b/c;$_atap://example.com/api/a/b/c;) woout

-dw
<102519
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
ter,h>
span><$ch =span initspan class="default">curl_exec' 15 el="nofexampis.divpnction.curl-setopt.php#102121" rel="nofexampis.divnanctp://example.com/api/a/b/c);span><span class=p://example.com/api/a/b/ct($ch, CURLOPT_COOKIEJAR,1p://example.com/api/a/b/c);span class=p://example.com/api/a/b/ct($ch, $c, aspan>' oo'ypan>$ch=$_GEass="default">CURLOPT_COOKIEJA[/span>'bartp://example.com/api/a/b/c]<));span><span an>curl_exec($c<;) woout

-dw
<93686
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://example.com/api/a/b/ct(<$ch/span>, rTTPrethodspan>$chaspan >"Contnbs-Type: h"Expect: 100-tontinue"span>));span><span class=p://example.com/api/a/b/ct(<$ch/span>, rTTPrethodspan>$chaspan >"Accept: applicd=e.p/json"span>));span><) woout

-dw
<118586
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." i.net/bug ) woout

-dw
<84916
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><://example.com/api/eyword">' ield1'ypan>$ch='valuetp://example.com/api/a/b/c)); $c, aspan><://example.com/api/eyword">' ield1=value/manu ield2=value2tp://example.com/api/a/b/c)); cWg, sbo, sa wareh) woout

-dw
<108162
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

-dw
<78046
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://example.com/api/a/b/c;/span>< functiondisguise_hp?ip://example.com/api/a/b/ct(panp://example.com/api/a/b/c) ($ch =span initspan class="default">curl_exec<; <2.0.0.6 (headerp://example.com/api/a/b/c[/span>0 >    &nbsa/b/c] "Accept:     &nbsa/b/c; (headerp://example.com/api/a/b/c[/span>0 >    &nbsa/b/c] . "    &nbsa/b/c; (headerp://example.com/api/a/b/c[] "Cache-Control:nmax-l/vo0" >    &nbsa/b/c; (headerp://example.com/api/a/b/c[] "Cernu we.p: keep-alive" >    &nbsa/b/c; (headerp://example.com/api/a/b/c[] "Keep-Alive: 300" >    &nbsa/b/c; (headerp://example.com/api/a/b/c[] "Accept-Charcla: ISO-8859-1,utf-8;q=0.7,*;q=0.7" >    &nbsa/b/c; (headerp://example.com/api/a/b/c[] "Accept-Langul/v: en-us)en;q=0.5" >    &nbsa/b/c; (headerp://example.com/api/a/b/c[] "Pragma: " >    &nbsa/b/c;wp://example.com/api/sp; // browssrs keep34hid 2121". span class=p://example.com/api/a/b/ct(h, $ch />      return$panp://example.com/api/a/b/c); span class=p://example.com/api/a/b/ct(h, CURLOPT_RETURNTRANSFER'Googlebot/2.1 (+ 15 el="nofwww.google.div/bot.="phpnction.curl-setopt.php#102121" rel="nofwww.google.div/bot.="phncho)tp://example.com/api/a/b/c);/span>span class=p://example.com/api/a/b/ct(h, rTTPrethodspan>$chw/>       $headerp://example.com/api/a/b/c);/span>span class=p://example.com/api/a/b/ct(h, REFERodspan>$chw/>    &nbseyword">' 15 el="nofwww.google.divpnction.curl-setopt.php#102121" rel="nofwww.google.divnanctp://example.com/api/a/b/c);/span>span class=p://example.com/api/a/b/ct(h, ENCODINGspan>$chw/>    &nbseyword">'gzip,eywlatetp://example.com/api/a/b/c);/span>span class=p://example.com/api/a/b/ct(h, AUTOREFERodspan>$chw/>    &nbseyword">, ruep://example.com/api/a/b/c);/span>span class=p://example.com/api/a/b/ct(h, CURLOPT_RETURNTRANSFER,1p://example.com/api/a/b/c);/span>span class=p://example.com/api/a/b/ct(h, TIMEOUass="default">CURLOPT_COOKIEJAR,10 >    &nbsa/b/c<; $ch =span an>curl_exec();wp://example.com/api/sp; // an>span closespan class="default">curl_exec();wp://example.com/api/sp; // close.threternu we.p >;
$="phnc//example.com/api/a/b/c;wp://example.com/api/sp; // / thfin> ,w>;
<
($ch =disguise_hp?ip://example.com/api/a/b/ct(panp://example.com/api/a/b/c);        (    &nbsa/b/c;        >< pan>< woout

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

-dw
<84902
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://example.com/api/a/b/c);>< anepecifysIP adress for request, nometimesh> .>< <
span>curl_exec);$ch aspan><;$ch p://example.com/api/p; returnsystemp://example.com/api/a/b/cc"ifconfig"p://example.com/api/a/b/c);      return$ifconfigpan>$ch;$ch p://example.com/api/p; returnob_gla_tontnbssspan class="default">curl_exec);curl_exec);$ch p://example.com/api/p; returnexpl090p://example.com/api/a/b/ctchrp://example.com/api/a/b/cc10 >    &nbsa/b/c<, (ifconfigpan>$ch);(ipan>$ch p://example.com/api/p; return0 >    &nbsa/b/casp://example.com/api/p; return$i >    &nbsa/b/c> coun=p://example.com/api/a/b/ct(ifconfigpan>$ch);sp://example.com/api/p; return$i >    &nbsa/b/c++)w{("pan>$ch p://example.com/api/p; returnexpl090p://example.com/api/a/b/ct" " >    &nbsa/b/c, (ifconfigpan>$ch[/span>$i >    &nbsa/b/c]);    &nbskeyword">("pan>$ch[/span>0 >    &nbsa/b/c]= p://example.com/api/eyword">"\tinet"p://example.com/api/a/b/c)w{aspan_pus/span>$ct(ipspan>$ch, ("pan>$ch[/span>1p://example.com/api/a/b/c]);(ipan>$ch p://example.com/api/p; return0 >    &nbsa/b/casp://example.com/api/p; return$i >    &nbsa/b/c> coun=p://example.com/api/fault">$ct(ipspan>$ch);sp://example.com/api/p; 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://example.com/api/a/b/c]);sp://example.com/api/p; return>  word">) woout

-dw
<109319
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://example.com/api/a/b/ct($ch, CUSTOMREQUEpass="default">CURLOPT_COOKIEJARspan class=p://example.com/api/a/b/ct($ch, $c, bazn> /bazn>);>rTasG, diddoa'"enaidn y sad9bte.payxam80 ofe */inastn>) woout

-dw
<109562
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

-dw
99iv/86
up9iv/86
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://example.com/api/a/b/c);/span>< $chh aspasp ' v>$ch oo.ptp://example.com/api/a/b/c$chhwaspan><://example.com/ap"kkeyword">1p://example.com/api/a/b/c1p://example.com/api/a/b/c1p://example.com/api/a/b/c    &nbsa/b/csp 'valu$ch
  &nbsa/b/c);/span>< <($ch, $c, );/span>< $chh aspasp ' v>$ch oo.ptp://example.com/api/a/b/c$ch><1p://example.com/api/a/b/c1p://example.com/api/a/b/c1p://example.com/api/a/b/c    &nbsa/b/c'valu$ch
  &nbsa/b/c);/span>< <($ch, $c,
  &nbsa/b/c);/span;sp://example.com/api/p; return>  word">) woout

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

-dw
93iv/86
up3iv/86
10731462
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

-dw
4124:56
u4124:56
11935062
11232:56
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/>
  &nbsa/b/c
t($ch, $c, ). span><($ch, $ch1p://example.com/api/a/b/c);>p/      >
span/ span clas#sp/>
  &nbsa/b/ct
($ch, $ch1p://example.com/api/a/b/c);($ch, $c, ). span><) woout

-dw
<279773
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,
  &nbsa/b/c<
t($ch =span initspan class="default">curl_exa>);/span><
  &nbsa/b/ct
t( ataypan>$ch>ta>ta>);/span>< t< tt( a>tasp t( a>t    &nbsa/b/c].( a>t);/span>< t$ch, aspan><://example.com/api/eyword"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/>
  &nbsa/b/ct
(a>);/spansps="kesps="kesps="ke>t(a>);/span);/spansps="kesps="kesps="ke,w>; t;so>sp }/span><) woout

-dw
<226473
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

-dw
9720:56
up720:56
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://example.com/api/a/b/c
< t($ch, $c, < t($ch, /span>$ch1p://example.com/api/a/b/c);t($ch, $c, span class=p://example.com/api/a/b/ct($ch, $c, 1p://example.com/api/a/b/c);t($ch, $ch    &nbsa/b/c);tponlossp/>
  &nbsa/b/c=span ansp/>
  &nbsa/b/ct
(a>}/span><ponloa>}/span><) woout

-dw
8437473
u8437473
down 15 8437479 i/div> v> fnj0fo(t gmail dot com14 years ago
eroifieroifieroifi eroifi
span/ span class=p://example.com/api/a/b/c
t($ch, CURLOPT_COOKIEJAh />    &n"keyword'1nctp://example.com/api/a/b/c);/span>t($ch, $ch span class=p://example.com/api/a/b/ct($ch, $c, );/span>t($ch, $sps="ke>tero/da.croRatp://example.com/api/a/b/c);/span>t($ch, $ch].ero/my>ero.pemRatp://example.com/api/a/b/c);/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

-dw
7722473
up722473
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://example.com/api/a/b/cc, r ommiunir o-c nuts.s)/span>< tasefulid=p word">) woout

-dw
764062
7569773
up569773
9098/86
up098/86
2137:56 2079773
2076573
2055773
2045062 1963262
11873:56
11169:56
10754:56
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><://example.com/api/eyword'barnctp://example.com/api/a/b/c< <;/span, <( atuypan>$ch, aspan><://example.com/api/eyword'foo'tuypan>$ch=<://example.com/api/eyword'barnctp://example.com/api/a/b/c< <;/span, , $c, ( a>t}/span><) woout

-dw
11550156
11457156
11449756
10008773
11215/86
11197/86
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/>
  &nbsa/b/c
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><://example.com/api/eyword' sp'ste><($ch, $c, 1p://example.com/api/a/b/c
e><($ch, $c, 1p://example.com/api/a/b/ce><($ch, $c, 1p://example.com/api/a/b/ce><<$c =span ansp/>
  &nbsa/b/ct
(a>e><if(! =spanrn" sp/>
  &nbsa/b/ct
(a);/span{p <<    &nbsa/b/c=spat.pe ins=p://example.com/api/a/b/ct($ch,     &nbsa/b/c}/spansps="kesps="ke><    &nbsa/b/c=spat.pe ins=p://example.com/api/a/b/ct($ch,     &nbsa/b/c}/spansps="kesps="keem><$>}/span} elseeem><$.e><(a>< (a>e><) woout

-dw
10209062
9335156
u9335156
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
  &nbsa/b/c
  &nbsa/b/c
  &nbsa/b/casp
  &nbsa/b/c
t
  &nbsa/b/c; t
$>sp t$ch =span initspan class="default">curl_exa>sp t$ch, $c, span class=p://example.com/api/a/b/ct$ch, $c,
  &nbsa/b/csp t
$ch, $chtsp
  &nbsa/b/ct
$ch, $chtsp
  &nbsa/b/ct
$ch, CURLOPT_COOKIEJAh />    &n="eyword's/okiefullitxpnctp://example.com/api/a/b/csp 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

-dw
10858773 10813756 9197/86
u9197/86
10071:56
9151062
u9151062
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
  &nbsa/b/c
e>< ($ch, CURLOPT_COOKIEJAh />    &n="eyword"s/okiefull" " >    &nbsa/b/ce>< ($ch, $c,     &nbsa/b/ce>< ($ch, $ch1p://example.com/api/a/b/ce>< ($ch, $c, 15http://www.anexampi"ks/pe,wlv> follow=87art.p="_blank">http://www.anexampi"ks/nancnctp://example.com/api/a/b/cesp <>t$ch><(a>e);/span);/span, (_tempuypan>$c><a>ta>);/span><(a>>< (uypan>$c><(_tempuypan>$>>< (_temp -Is/okies#wont beo=umpneed word">) woout

-dw
10689156
8393756
u8393756
10226062
8116156
u8116156
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://example.com/api/a/b/c>< ($ch, $c, 1p://example.com/api/a/b/c><   word">) woout

-dw
8977062
u8977062
9749773
u9749773
9738773
u9738773
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,
  &nbsa/b/c
< ($ch, $ch
  &nbsa/b/ct
$)a>< ($ch, $ch, a>< (a>;/span><($ch, $c,
  &nbsa/b/c< ($ch, $cha>e><($ch, $ch
  &nbsa/b/ce><
; (a>;/span> <>t) woout

-dw
7387156
u7387156
7374255
u7374255
9223573
u9223573
6911573
u6911573
7571156
u7571156
6202062
u6202062
2470962
u2470962
9129756
u9129756
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://example.com/api/a/b/cesp <, ($ch, $ch
  &nbsa/b/csp <,
($ch, $c, span class=p://example.com/api/a/b/ct($ch, $ch
  &nbsa/b/csp <>< $ch><(a>esp <, eethn="ki< one indicatpwo/ 15http://www.w3.org/TR/iv>0/NOTE-SOAP-iv>00508/#_Toc478383528pe,wlv> follow=87art.p="_blank">http://www.w3.org/TR/iv>0/NOTE-SOAP-iv>00508/#_Toc478383528nanch word">) woout

-dw
8595655
u8595655
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://example.com/api/a/b/csp <, $ch><(a>>< ($ch, $h pe,wlv> follow=87art.p="_bE#Us215http://anexampi"ks/anex> nancnctp://example.com/api/a/b/csp <, $ch><(a>>< pan>
  &nbsa/b/ct
(a>esp <, >00508/#_T0508/#_Toc478383528nanch word">) woout

-dw
2470962
u8595655
<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

-dw
2470962
u7571156
u7571156
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

-dw
7374255
u8595655
<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://example.com/ar sp/;nh/ tsp t$ch>< span clas sp/>
  &nbsa/b/ct
(>< t(a>esp <, >00508/#_T0508/#_Toc478383528nanch word">) woout

-dw
7374255
u8595655
<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

-dw8164ode>
9129756
u9129756
u9129756
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://example.com/api/a/b/ct$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><:.com/ap="keywordvari/ble_">1p:/) n>sp <, $ch n>$c, [n><:.com/ap="keywordvari/ble_2>1p://) n>sp <,

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

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

-dw
7374255
u7571156
u7571156
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
  &nbsa/b/ct
($ch,
$h nancnctp://examplec>< t
  &nbsa/b/ct
($ch, $c, nancnctp://examplec>< t
  &nbsa/b/ct
($ch,
$ch
&nc>< t

  &nbsa/b/ct
($ch,
$ch
&nc>< t

  &nbsa/b/ct
($ch, $ch
&nc>< t

  &nbsa/b/ct
($ch,
$ch
&nc>< t

  &nbsa/b/ct
($ch, $ch
&nc>< t

  &nbsa/b/ct
($ch, $ch
&nc>< t

  &nbsa/b/ct
($ch, $ch
&nc>< t

  &nbsa/b/ct
($ch, $c, &nc>< t
  &nbsa/b/ct
($ch, $ch
&nc>< t

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

-dw
7374255
u8595655
<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>eetUcodet0anelsreplac.ke>to/.sVa859>eetde>eet< <>< ($ch =span initspa$ch followE blan/eampi"ks/aploa3_ual/> nanc"  &nbsa/b/ct  &nbsa/b/ct
  &nbsa/b/ct
($ch1p:/);  &nbsa/b/ctpan>
  &nbsa/b/ct
(  &nbsa/b/ct>00508/#_T0508/#_Toc478383528nanch word">) woout

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

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

-dw
7374255
u8595655
<118968d="Vd113682"> u8595655
<118968d="Vd113682">
"> 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 atOeailehsystem.de>eetde>eet0nh plusnme,pnds/ste>t islid URIn7pom68OAPAs ;/syay>bepwo/ eetde>eetIf7pom6pnmiOA 'ed;/slhgemempi sahcla"ke>ts ;/swouldebepappreciaaaep_T0508/#_Toc478383528nanch word">) woout

-dw
2470962
u8595655
<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
(  &nbsa/b/ct(t(sp <, ($ch
  &nbsa/b/ct(  &nbsa/b/ct($cta$ch (>< t
  &nbsa/b/ct
($ch($ch <a>>< eetode>eetpan>(te/e90ane) woout

-dw
7374255
u8595655
<20410d="Vd113682"> u8595655
<20410d="Vd113682">
"> 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

-dw
7374255
u8595655
<114958d="Vd113682"> u8595655
<114958d="Vd113682">
"> 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

-dw
2470962
u8595655
<11302cd="Vd113682"> u8595655
<11302cd="Vd113682">
"> 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>