Getting info about each redirection on the way to the final url using curl_getinfo
is there any way to get (and, let's say display that) info about each redirection on开发者_运维技巧 the way to the final url using cURL (e.g. curl_getinfo function)?
Thanks!
You can get the header of a page using get_meta_tags. I do not know if this will get you all headers or just the last one.
精彩评论