note 74446 added to language.oop5.typehinting
| From: | anna.sobiepanek" gmail . com | Date: | Wed, 11 Apr 2007 19:46:43 +0000 |
| Subject: | note 74446 added to language.oop5.typehinting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125308@lists.php.net to get a copy of this message | ||
Not really a note but a Question:
I am making a system(accessed through http) for a company that will require user to enter
information about clients, update records, print reports, add payments etc.
I just wanted to know how do i go about passing my object to the next page.
Ie: On login, I set an object $currentUser = new user(..);
When the user clicks on a button (to do a task, ex: results) the program goes into a different php
page, how do i know that $currentUser is the same user as in login.php? Do I have to set a global
scope? Do I pass a reference to $currentUser via _POST??
I am not sure how this works?
Can someone explain it??
----
Server IP: 69.147.83.197
Probable Submitter: 74.100.127.117
----
Manual Page -- http://www.php.net/manual/en/language.oop5.typehinting.php
Edit -- https://master.php.net/note/edit/74446
Del: integrated -- https://master.php.net/note/delete/74446/integrated
Del: useless -- https://master.php.net/note/delete/74446/useless
Del: bad code -- https://master.php.net/note/delete/74446/bad+code
Del: spam -- https://master.php.net/note/delete/74446/spam
Del: non-english -- https://master.php.net/note/delete/74446/non-english
Del: in docs -- https://master.php.net/note/delete/74446/in+docs
Del: other reasons-- https://master.php.net/note/delete/74446
Reject -- https://master.php.net/note/reject/74446
Search -- https://master.php.net/manage/user-notes.php