Re: parse_str and session vars

From: Date: Mon, 04 Mar 2002 09:04:41 +0000
Subject: Re: parse_str and session vars
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-80680@lists.php.net to get a copy of this message
I'm very sorry, but it seems - that the solution with import_request_variables is even worse. I've tried import_request_variables with ("g","f") and ("g","foo") but now foo isn't even set in file2.php (the url arg to file3 is now "bar") Thomas Wentzel wrote: > > OK! Thanks, Rasmus! > > That will allow me to keep working on my current model > > /Thomas > > Rasmus Lerdorf wrote: > > > > Use import_request_variables('g') instead of parse_str($QUERY_STRING) for > > now. It does the same thing in your case in a more efficient manner. I > > think the session code is holding a reference to the original data and > > php_treat_data() is not doing the right thing when overwriting existing > > vars. Or something funky like that. It is too late at night to figure this > > particular code out. > > > > -Rasmus

« previous php.dev (#80680) next »