Jerry Swanson wrote:
I know that register_globals = on is not secure. But one program
requires to use register_globals=on. So in php.ini register_globals is
set to on.
I have PHP 5.1, is it possible in the code set register_globals=off
for specific scripts.
So I want to keep PHP
From: Jason Barnett [EMAIL PROTECTED]
Jerry Swanson wrote:
I have PHP 5.1, is it possible in the code set register_globals=off
for specific scripts.
You can change this, and other php.ini directives, with the PHP function
ini_set
No, you can't. register_globals cannot be set with
Jason Barnett wrote:
So I want to keep PHP register_globals=on in php.ini, but in local
files set to off?
How I can do this?
You can change this, and other php.ini directives, with the PHP
function ini_set
register_globals cannot be changed with ini_set(). It is of type
PHP_INI_PERDIR
On Wednesday 22 December 2004 05:08, Jason Barnett wrote:
Jerry Swanson wrote:
So I want to keep PHP register_globals=on in php.ini, but in local
files set to off?
How I can do this?
You can change this, and other php.ini directives, with the PHP function
ini_set
No you can't. Well
4 matches
Mail list logo