Re: [PHP] _SESSION, _POST, and _GET

From: David T-G (davidtg-php_at_justpickone.org)
Date: 11/17/03


Date: Sun, 16 Nov 2003 22:19:45 -0500
To: PHP General list <php-general@lists.php.net>


John, et al --

...and then John W. Holmes said...
%
% David T-G wrote:
%
% >I have successfully used extract() to
% >pull the data out of _SESSION each time; yay.
%
% This whole question revolves around the reason you're even extract()ing
% anything to begin with... Why not just use the $_SESSION, $_POST, etc
% arrays where you need them. There's no reason to extract().

OK; fair enough. 1) I was just shown it in a recent thread and it seemed
like a lifesaver :-) 2) I want to get our existing code rewritten to "be
good" and not lose stuff, like passwords and email addresses, that it's
supposed to remember -- as quickly as possible.

I know they're famous last words, but I figure I'll do it right later :-)
[Hey, I'm even thinking of a full top-down rewrite anyway!]

%
% --
% ---John Holmes...
%
% Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
%
% php|architect: The Magazine for PHP Professionals – www.phparch.com

Thanks & TIA & HAND

:-D

-- 
David T-G                      * There is too much animal courage in 
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




Relevant Pages

  • Re: [PHP] _SESSION, _POST, and _GET
    ... John, et al -- ... %>...and then John W. Holmes said... ... There's no reason to extract(). ...
    (php.general)
  • RE: Records not found on query
    ... I found out the reason. ... "John H W" wrote: ... > not pull 5/26 is stopping a loading of the table (based on a query which also ...
    (microsoft.public.access.queries)
  • Re: Sony FX1 (or Z1U)??
    ... thanks so much for the recap John i absolutely loved the build at the end. ... become the STANDARD like sony used to be with beta. ... one reason stated to me sounded ... >>camera recording in all the camera control phases as well as both SD 4:3 ...
    (rec.video.production)
  • from e-mail this morning
    ... OMG finally 2 good reasons to vote for John. ... the Right Reverend "God Damn America" ... your pastor is NOT the reason I am NOT voting for you. ...
    (soc.retirement)
  • Re: "Here Today" lyric
    ... Because there wasnt any reason left to keep it all inside" ... Canada, The Beatles are escorted by police to the airport where, hoping ... Florida and that Paul and John got drunk. ... And then there is Here Today, the song he wrote in the wake of John Lennon's ...
    (rec.music.beatles)