wht is the alternative for register_glabal, i m not allowed to put on register_global on my server wht should i do PLZ HELP.
This is a discussion on REGISTER_GLOBALS within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; wht is the alternative for register_glabal, i m not allowed to put on register_global on my server wht should i ...
wht is the alternative for register_glabal, i m not allowed to put on register_global on my server wht should i do PLZ HELP.
REGISTER_GLOBALS is a requirement for osCommerce to work. Without it you are sunk.
If anyone out there has some good news on this, I havent heard it...
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
Stay Up To Date with everything osCMax:
Free osCmax Newsletters - Security notices, New Releases, osCMax News
osCmax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Ask your host to turn register_globals=on in PHP.INI and all vhost in hpptd.conf as off except for your site which needs it on.
Newer version of PHP have this turned off as a default where it was normally on. There is a "security problems" with this turned on ONLY if your not doing proper checking of input variables - ie: BAD PROGRAMING.
There is NO harm in this turned on and using OSC.
If your HOST is not willing to FIX this for you I am sure AABOX can do it....or PM me for other suggestions....
in your htaccess files in both your http and https dir. add this line to force globals on
That is it!Code:php_value register_globals 1
http://www.smartsauctions.com
This ONLY works if they allow it....... It still has to be turned on for the server (but off as a site default - and allow change).
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Hi!
I got register globals off at my host and OScommerce works fine, except for easy populate - I suppose bad programming...? It seems as the variables $usrfl_name and $localfile is empty when uploading a file - everything else works. Have anyone solved this problem?
Hi,
I am trying to run the install from
http://<site>.com/store/catalog/install/
and I keep getting
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
I have set register_globals = On in php.ini and even rebooted the machine and restarted apache and I still get this error.
Can anyone tell me why?
Thanks a ton!
Check if register_globals is 'on' somewhere else in the same file. I know this sounds foolish. But once I had found out that php.ini file makes register_globals on/off at 2 different lines. Give it a try. And do save your file after making the modification.
Regards,
developer X
Web Developer
[color=blue]HTTPPoint Web Talk - Discuss about Web Design, Web Hosting, Programming & Web Development
Sites on php4 need to change in the .htaccess lines at the bottom from
#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>
to
<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>
This worked for me on a site that was running on php4
True Meaning of Lost: Building a web site without knowledge or skill
True Meaning of Crazy: Building a web site anyhow
The Net Results: Never needing a comb again
www.MakeMeThis.com
Bookmarks