Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP5 register_global off


yanayun

Recommended Posts

Posted

hi,

 

My server using register_global =off.

how to modify .htaccess to use register_globals on

PHP5, Apache 1.3.x

 

i found only php4 on .htaccess.

 

<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

</IfModule>

 

 

yanayun

Posted

Change the php4 to php5. ;)

 

You could also remove the entire IfModule block and just leave the php_value statements.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

After remove :

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Posted

Did you remove the IfModule block or change the PHP4?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
Did you remove the IfModule block or change the PHP4?

 

i only remove ifmodule.

 

i leave only this :

 

php_value session.use_trans_sid 0

php_value register_globals 1

Archived

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

×
×
  • Create New...