views:

35

answers:

1

Hello

I have 2 scritpts on 2 different folders. One on them need the register globals to On and the other to Off.

Is it possible to enable regsiter globals on one folder and disable it on another one ? (maybe with a .htaccess ?)

regards

+2  A: 

if your apache instance allows you to override flags through .htaccess you can put the following in your file:

php_flag register_globals off
knittl