note 99743 added to oauth.examples.fireeagle
| From: | tom at punkave dot com | Date: | Thu, 02 Sep 2010 14:42:42 +0000 |
| Subject: | note 99743 added to oauth.examples.fireeagle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172270@lists.php.net to get a copy of this message | ||
The sample code presented will fail when PHP warnings are turned on and displaying in the browser.
That's because the warnings preempt the redirects. To fix that add isset() checks before
checking $_SESSION['state'].
----
Server IP: 69.147.83.197
Probable Submitter: 75.150.180.10
----
Manual Page -- http://www.php.net/manual/en/oauth.examples.fireeagle.php
Edit -- https://master.php.net/note/edit/99743
Del: integrated -- https://master.php.net/note/delete/99743/integrated
Del: useless -- https://master.php.net/note/delete/99743/useless
Del: bad code -- https://master.php.net/note/delete/99743/bad+code
Del: spam -- https://master.php.net/note/delete/99743/spam
Del: non-english -- https://master.php.net/note/delete/99743/non-english
Del: in docs -- https://master.php.net/note/delete/99743/in+docs
Del: other reasons-- https://master.php.net/note/delete/99743
Reject -- https://master.php.net/note/reject/99743
Search -- https://master.php.net/manage/user-notes.php