well thats a strange one isn't it. I would double check your php.ini make
sure it wasn't changed, also check the phpinfo() output to see if its
accually using the right php.ini file
http://php.net/manual/function.phpinfo.php
can you use the GLOBALS array?
echo $GLOBALS['foo'];
I dont quite know what to say more, thats a strange one you got there :)
Chris Lee
Mediawaveonline.com
""Jon Rosenberg"" <[EMAIL PROTECTED]> wrote in message
001301c07c26$5609d3e0$75e2d2cc@slinkyboi5">news:001301c07c26$5609d3e0$75e2d2cc@slinkyboi5...
> I just installed 4.0.4pl1 upgrade from 4.0.3pl1. I changed nothing in my
> ini file and just left it inplace from the previous installation. I used
> the same configure options, --with-apxs and --with-mysql
> Now, my global variables don't work in my functions.
>
> ie.
>
> $foo = "bar";
> $rap = 7;
>
> function bob(){
> global $foo, $rap;
> echo $foo; ----------------no output is seen, but it is in 4.0.3pl1
> do something
> return;
> }
>
> HELP!!! Thanks
> -----------------------------------------------------------------
> Jonathan Rosenberg
> Be fierce, be fabulous, change the world!
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]