That's helpful, but seems to be returning a copy of $GLOBALS, I was referring to just seeing the 'local' variables and not everything in the global namespace ... though I suspect with the shift to register_globals = off -- this may be giving me what I'm looking for *in that configuration only* ... still seems a $_USER would be useful, but I can make do with this.
Thanks On Wed, May 01, 2002 at 01:05:18PM -0600, Steve Meyers wrote: > Try get_defined_vars() > > Hank Marquardt wrote: > > > 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, [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] > >> 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 > >> > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- Hank Marquardt <[EMAIL PROTECTED]> 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php