Ok. I'll get around to that sometime. But I think to start, I'll use that
code from php|a that unregisters globals and such. Guess that is a smart
thing to do. Never know when it's gonna fail like that.
Thanks for your help all,
Damon
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
Hi,
I would try recompiling PHP with the bare minimum, and see if you can
reproduce the behavior. If not, then add in extensions one by one. If
you still see the behavior, modify a value in php.ini, and make sure you
see it show up in phpinfo() (don't forget to restart Apache). If
changes d
I added the error_reporting line and it doesn't seem to make any difference
actually. No warnings or notices. Yes, I can recompile PHP.
Damon
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> if you append ?test=foo to the url you supplied, it will print "foo" -
Hi,
Sunday, September 28, 2003, 12:36:19 PM, you wrote:
DK> Don't know anything about an auto_prepend_file. There is no .htaccess file.
DK> Beside, phpinfo says register_globals is off both globaly and localy.
DK> Damon
DK> "Greg Beaver" <[EMAIL PROTECTED]> wrote in message
DK> news:[EMAIL PROTE
Hi,
if you append ?test=foo to the url you supplied, it will print "foo" -
register_globals is definitely on, perhaps you could add this to the
start of the file:
ini_set('error_reporting', E_ALL);
so we can see the result? You should also be seeing a notice of an
undefined variable. It's p
Don't know anything about an auto_prepend_file. There is no .htaccess file.
Beside, phpinfo says register_globals is off both globaly and localy.
Damon
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Damon,
>
> Do you have an auto_prepend_file? Also, check the cont
Hi Damon,
Do you have an auto_prepend_file? Also, check the contents of
.htaccess, make sure register_globals is not set to on there.
Greg
Damon Kohler wrote:
Well, it does turn off. At least phpinfo() says that it's off. However, PHP
is acting as though it's still turned on. The source code f
I changed the code to the snippet below. It displays register globals off.
Damon
";
$register_globals = (bool) ini_get('register_gobals');
print "register globals: " . ($register_globals ? "on" : "off");
phpinfo();
?>
"Jon Kriek" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROT
What does it say at script level?
$register_globals = (bool) ini_get('register_gobals');
"Damon Kohler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well, it does turn off. At least phpinfo() says that it's off. However,
PHP
> is acting as though it's still turned on. The source
9 matches
Mail list logo