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

Reply via email to