Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to enable register_globals using .htaccess


maldonado

Recommended Posts

Posted

Hi everybody

 

Theres a problem with my ISP , I can not edit php.ini file to change the option register_global to " on " . How can I do this using an .htaccess file in my instation directory ( /catalog ) .

 

I neeed help ! My store is offline because of this setting .

 

Thanks

 

Adriano

Posted
Hi everybody

 

Theres a problem with my ISP , I can not edit php.ini file to change the option register_global to " on " . How can I do this using an .htaccess file in my instation directory ( /catalog ) .

 

I neeed help ! My store is offline because of this setting .

 

Thanks

 

Adriano

 

add:

  php_value register_globals 1

Posted

It solution does not work , I use another solution , I put a php.ini file in my /catalog with these settings

 

register_globals = ON

safe mode = off *

 

Is this correct ? The store works again , but if I put the only first line shows an error , so I can put second ( * ) and , works fine .

 

Thanks

Archived

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

×
×
  • Create New...