Hello Forums,
I have a FedEx module written in PHP/cURL. It works great in my WAMP test environment, and sometimes in my production Centos Linux environment. It is currently broken in production, bringing down my ecommerce store. I can not see the differences between test and production inputs. I would like to list out all the variables being sent so I can compare the two, but don't know how, since they are stored in a curl handle resource.
Can anybody tell me how to list them? I've used print_r (curl_getinfo($ch)) but that only shows the variables after they've gone to FedEx, and in the production listing, they are blanks, and zeroes. I need to see whats listed in the resource before it's sent.
Thanks in advance.
How to display cURL values before curl_exec?
Moderator: General Moderators
Re: How to display cURL values before curl_exec?
Have you checked the error log, or the error being returned by curl if there is one? That would be the first place I would look.