As I mentioned earlier - it is not because I don't know how to
circumvent it
but next to actually fixing the bugs/issues I just felt that reporting
them
would be a good thing :)

/Thomas

Rasmus Lerdorf wrote:
> 
> Should work just fine.  But since you don't seem to care how you do it, I
> don't understand why you don't just do the obvious.  Loop through the GET
> vars and set each one.  ie.
> 
> foreach($HTTP_GET_VARS as $name=>$val) $$name=$val;
> 
> -Rasmus
> 
> On Mon, 4 Mar 2002, Thomas Wentzel wrote:
> 
> > PHP 4.1.2 std. no CVS
> >
> > Rasmus Lerdorf wrote:
> > >
> > > Which version of PHP?  I tested your file123 thing here and it worked just
> > > fine.
> > >
> > > On Mon, 4 Mar 2002, Thomas Wentzel wrote:
> > >
> > > > 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
> > > >
> > >
> > > --
> > > 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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to