Re: Re: How to set register_globals=off in the script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Barnett <jason.barnett@xxxxxxxxxxxxx>
> 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 ini_set and must be set in php.ini or an .htaccess file. 

---John Holmes...

UCCASS - PHP Survey System
http://www.bigredspark.com/survey.html

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux