Page 1 of 1

Turning on Debug

Posted: Sat Jul 11, 2009 6:12 pm
by octopusgrabbus
What is the best way to turn on PHP debugging, specifically for seeing how a cURL call is processed?

My specifics are that I have a simple form that calls a PHP function that puts together cURL parameters and makes the call. The call works, but the URL shows I have not jumped to the secure site, even though the displayed form is correct, and works fine, after pressing the form's submit button. The next page is secure.

I am trying to find out why I don't jump to the site's version of the form.

Re: Turning on Debug

Posted: Sat Jul 11, 2009 7:53 pm
by requinix
cURL downloads stuff. It's not going to redirect you or anything so the URL in the browser's address bar will not change.

Re: Turning on Debug

Posted: Mon Jul 13, 2009 7:29 am
by octopusgrabbus
tasairis: Thanks for your reply. I am still confused about something. the curl_exec is opening a secure site. Why is that not reflected? Could that be an apache problem?

I am trying to post a form to this site. I can't just do a redirect.

Thanks.