function someCommand()
{
    global $var1, $var2, $var3;

stuff();
}

I think you could also use define(); maybe..

Later,

Bob Weaver

"Paul Roberts" <[EMAIL PROTECTED]> wrote in message
00f301c1e311$fa421af0$dde5883e@laptop1">news:00f301c1e311$fa421af0$dde5883e@laptop1...
Is there a quick way to set all variables as global so that they are
avalible to a function, i'm doing an eval inside, so i need all the
submitted variables to be avalible, or do i have to decalre them
individualy.

Paul Roberts
[EMAIL PROTECTED]
++++++++++++++++++++++++






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

Reply via email to