Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What is the purpose of "php_flag register_globals on"


artcoder

Recommended Posts

Adding that to your .htaccess file allows the shop to continue working as it is. Once the register globals contribution is installed, you don't need that setting.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

No, it's an either/or situation. Either put it in your .htaccess file and run as your shop is or leave it out and install the contribution. The problem is that oscommerce uses a method where the variables are termed "global," which means they are common to all parts of the shop. That creates a security risk. The register globals option has to be on for that to work, which is what the .htaccess change does. The register gloabls contribution changes the code so that the variables are no longer a security risk. It is the better way to go but requires more work.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...