Enable Disable register global from .htaccess

July 11, 2008 · Filed Under Linux / Unix Commands, htaccess 

At times, we need to set register_globals to on or to off and we cannot modify such directive of php from the php.ini for obvious motives.

Then we can plan register_globals to on or off through an entry in the file .htaccess in the following manner.
For on:

php_flag register_globals on

For off:

php_flag register_globals off

If you enjoyed this post and found it useful, please write your comments. You comments would encourage us to write more. Also make sure you subscribe to our RSS feed!

We Provide Custom PHP Programming for Joomla , Wordpress, OScommerce, Creloaded, Xcart and any other opensource solution you can think of at www.technoIntellects.com.

Get our Joomla Hosting Packages at the affordable price with unlimited services

Comments

4 Responses to “Enable Disable register global from .htaccess”

  1. Lukkibessoni on August 20th, 2008 10:39 am

    Hi all!
    I love google and Yahoo!
    :)
    G’night

  2. vaheed on August 26th, 2008 10:18 am

    Hi
    Tanx …

    REGARDS.

    Vaheed khoshnud

  3. maplist on October 23rd, 2008 8:32 pm

    thanks for sharing

  4. Bookmarks about Htaccess on October 27th, 2008 5:30 pm

    [...] - bookmarked by 2 members originally found by espank9 on 2008-10-22 Enable Disable register global from .htaccess http://blog.technointellects.com/enable-disable-register-global-from-htaccess/ - bookmarked by 1 [...]

Leave a Reply