Re: re[PHP] gister_globals

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

 



I'm a newbie to php and i would like to set register_globals to 'on' from my
php script itself(eg:- index.php). Is there any way of doing this.

You can't do this from inside the script with ini_set() as register_globals has already had it's affect at that point, so you can put this in a .htaccess file if you're using Apache:

php_flag register_globals 1

--
Richard Heyes
http://www.websupportsolutions.co.uk

Mailing list management service allowing you to reach your Customers
and increase your sales.

** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **

--
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