Turning on Debug

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
octopusgrabbus
Forum Newbie
Posts: 7
Joined: Tue Jan 13, 2009 1:10 pm

Turning on Debug

Post 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.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Turning on Debug

Post 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.
octopusgrabbus
Forum Newbie
Posts: 7
Joined: Tue Jan 13, 2009 1:10 pm

Re: Turning on Debug

Post 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.
Post Reply