September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed curl_getinfo(int curld, [int info_option])
| curld | Handle of cURL session to query |
| info_option | Constant indicating which information to get |
Queries a cURL session for the status information.
Returns:
A string giving information about the state of the cURL session, or an associative array containing all known information
Description:
Queries the cURL session indicated by the curld parameter for information regarding the status of the session. This function is only available if the cURL library version is 7.4.1 or above and the PHP version is 4.0.4 or above.
The following constants are defined for the info_option parameter:
| Constant | Description |
|---|---|
| CURLINFO_EFFECTIVE_URL (string) | Returns the effective URL as used in the most ... |
Read now
Unlock full access