Turn on / off for $register_globals by .htaccess file, “change from php4 to php5″

  1. Create a  file called .htaccess with any editor (like WordPad or Notes or dreamweaver or anyting).
  2. Add the following line in .htaccess:
    php_flag register_globals on
  3. Upload the file to your web hosting account(generally inside of public_html folder). Make sure the name of the file dosen’t have any kind of extension. The file name should be only .htaccess

Fell free to ask about it….

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>