Re: registered globals on localhost (apache)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, February 22, 2007 7:40 am, Ross wrote:
> I have my RG's switched off in my local .ini but I am tinkering about
> with
> oscommerce.
>
> php_value register_globals on
>
> I tried to change add this line to the .htaccess file in the catalog
> folder
> but still gives the error
>
>
> Server Requirement Error: register_globals is disabled in your PHP
> configuration. This can be enabled in your php.ini configuration file
> or in
> the .htaccess file in your catalog directory.
>
>
> Can I change the RG settings in tis way on my localhost?

Yes, maybe, if in httpd.conf you allowed yourself to AllowOverride
correctly.

You can use <?php phpinfo();?> in the sub-directory to see if the
"Local" value is changed from the "Master" (local ~= .htaccess)

"Local" would also reflect any ini_set() calls made before phpinfo(),
but that's kind of useless for magic_quotes, which takes its action
long before any ini_set() could possibly have any effect.

NOTE:
If software required register_globals ON, perhaps one should simply
not use that software. JMHO.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux