Re: $_USER -- just a thought
| From: | Hank Marquardt | Date: | Wed, 01 May 2002 16:58:14 +0000 |
| Subject: | Re: $_USER -- just a thought | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83558@lists.php.net to get a copy of this message | ||
Allow me to elaborate --
I basically am looking for whatever is *not* in the existing $_ arrays.
The application is to save state in a 'crash and burn' function as much
as possible about the crash event ... I'm serializing it all and writing
to a file (or email or db ....) I've already got all the $_ stuff, I'm
looking for the incidentals ... the loop counters, the current state of
bind variables, ... all the user stuff that isn't in $_SESSION -- right
now as far as I can tell that is just in $GLOBALS ... the stuff at the
very end if you iterate it. ... just seemed like that should be $_USER
to me; so I asked:)
On Wed, May 01, 2002 at 06:42:17PM +0200, derick@php.net wrote:
> On Wed, 1 May 2002, Hank Marquardt wrote:
>
> > I've been having difficulty with $GLOBALS in a fashion similar to that
> > reported in bug #16065 -- I'm using debian-unstable packages of 4.1.2,
> > maybe it'll go away with the 4.2 packages, but I digress ....
> >
> > What I'm trying to do is save state of the user's variables at a given
> > point in time and as far as I can tell that's only in the $GLOBALS array
> > today ... everything else is clean to save, the $_GET|POST|SESSION|COOKIE... stuff, but
> > the user's stuff is a problem.
> >
> > So it got me wondering/thinking that it might be nice to have a $_USER
> > array available that has this stuff ...
> >
> > Any chance it already exists, or might be made available?
>
> $_REQUEST is a combination of $_GET, $_POST and $_COOKIE.
>
> Derick
>
> -----------------------------------------------------------------------
> Did I help you? Consider a gift:
> http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
> -----------------------------------------------------------------------
> PHP: Scripting the Web - derick@php.net
> All your branches are belong to me!
> SRM: Script Running Machine - www.vl-srm.net
> -----------------------------------------------------------------------
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Hank Marquardt <hank@yerpso.net>
http://web.yerpso.net
GPG Id: 2BB5E60C
Fingerprint: D807 61BC FD18 370A AC1D 3EDF 2BF9 8A2D 2BB5 E60C
*** Web Development: PHP, MySQL/PgSQL - Network Admin: Debian/FreeBSD
*** PHP Instructor - Intnl. Webmasters Assn./HTML Writers Guild
*** Beginning PHP && PHP II -- Starting March 25, 2002
*** See http://www.hwg.org/services/classes