Dealing with Post-Back from other applications |
[eluser]Zack Kitzmiller[/eluser]
I'm working on a project right now where I'm working with a thrid-party, and every night they POST some data to a URL. In the third-party application if I set my Post-Back URL to postbin.com/1b9pvqm, it works fine. and I can get to the data they post me. But I can't seem to capture the data in a controller. I've tried the following. Code: log_message('info', 'received postback'); And I only get the 'received postback' & 'end postback' messages. Ideas?
[eluser]danmontgomery[/eluser]
print_r doesn't return a value unless you pass a second paramater. http://php.net/manual/en/function.print-r.php Code: log_message('info', print_r($_POST, TRUE));
[eluser]Zack Kitzmiller[/eluser]
I only tried each line one at a time. I should have been more clear in my original post. Either way. I tried that, but thanks anyway. |
Welcome Guest, Not a member yet? Register Sign In |