php - how to check (read) crul CURLOPT field of handle? -


this question has answer here:

1) there method check if curlopt field of curl handle set , if value?
reason - i'm writing class should recognize if curlopt_post set. if not dedicated method add url query in syntax perform request.

2) second reason read debug curl parameter fields of handle curl_exec had problem execute , returned error

3) confirmation of changed curlopt field of handle, assuming possible change field set before (is it?)

for 1), this answer should you

for 2) you'd better use curl_error curl errors

for 3), curl_setopt overwrite defined options. returns true on success , false otherwise.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -