Justin Patrin wrote:

> On Sat, 03 Jul 2004 03:02:07 +1000, Trejkaz Xaoza <[EMAIL PROTECTED]>
> wrote:
>> 
>> 
>> Is there some way to fake inclusion with a query string attached?
>> 
> 
> Yep. Set the $_GET, $_POST, or $_REQUEST vars you need before
> including. You could also store a backup copy before doing this and
> put it back after the include if you need it.

Okay.  This is the way I'm going then.

I just noticed also that although $HTTP_GET_VARS is supposed to be an alias
for $_GET, I still have to set both variables to account for users'
behaviour.  (Either that, or I forget about $HTTP_GET_VARS and tell users
if it's deprecated in PHP, it's unsupported by my code.)

And also, what should I do with $_REQUEST?  Do users have to call a function
to get that to populate?  If that's the case I can silently ignore it since
it isn't used anywhere in my code.

TX

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to