curl_getinfo

(PHP 4 >= 4.0.4, PHP 5)

curl_getinfo --  Get information regarding a specific transfer

Description

string curl_getinfo ( resource ch [, int opt])

Returns information about the last transfer, opt may be one of the following:

If called without the optional parameter opt an associative array is returned with the following array elements which correspond to opt options: