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

Reply via email to