QUOTE(ipsedpub @ Jan 2 2006, 09:01 AM)

For one of my webhosts, editing .htaccess with php_flag register_globals off seems to work for the local value not the master value - whatever that means... is this ok? Am I secure now?
For my other webhost, editing the .htaccess gets me error 500, but changing the php.ini file to register_globals = 0 seems to work BUT work only on the directory within which it is contained, so the cube cart admin still shows register globals = on!!! Please advise.
I was a bit confused by your statement that you can not get access to your php.ini file if you are on a shared hosting - my hosting is shared and all I did was upload a php.ini file I created.
Lastly if there is a ini.php file as part of Cubecart why don't Devellion just make a change in that?
The local value means within the directory where you uploaded the .htaccess file (and all subdirectories). The global value is for the entire server (all users - not just your account). If your local value is OFF you are fine (you can't change the global value anyway on a shared host).
Your second host seems to not allow php directives in .htaccess files, so it sounds as if you're doing the right thing by using a php.ini file instead. I'm not very familiar with the syntax of php.ini files, so perhaps someone who knows more about them can post some guidance on this. For example, I think that if your server runs PHP Suexec you can add a "suPHP_ConfigPath" directive to your .htaccess file that will allow you to have one php.ini file that works for all your subdirectories (instead of needing one per directory).
You cannot get access to the GLOBAL php.ini file if you are on shared hosting; you may or may not be able to set your own local php.ini files (depending upon your host).
The ini.inc.php file is loaded by all CubeCart scripts and could un-register all globals as well (you actually can't set the register_globals value at this stage with ini_set - they're already registered by the time it reads your script - but you could un-register them after the fact). But this would not affect the environment, since you would need to load this script in order for it to take effect (unlike php.ini files, which are automatically loaded whenever any PHP script runs). So a hacker could look for ways to run scripts without loading that file, and register_globals would still be on...