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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| 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
|
|
#3
| ||||
| ||||
| 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.... |
|
#4
| |||
| |||
| in your htaccess files in both your http and https dir. add this line to force globals on Code: php_value register_globals 1 http://www.smartsauctions.com |
|
#5
| ||||
| ||||
| 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 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! |
|
#6
| |||
| |||
| 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? |
|
#7
| |||
| |||
| 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! |
|
#8
| ||||
| ||||
| 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 |
|
#9
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Register_Globals is Off!!!!!! | titascuet | osCMax v1.7 Discussion | 3 | 07-26-2007 03:06 AM |
| urgent need help: Register_Globals | flyinrookie | osCommerce 2.2 Modification Help | 3 | 03-04-2006 11:33 PM |
| register_globals solution | poiXoN | osCommerce 2.2 Installation Help | 8 | 12-31-2005 09:25 PM |
| register_globals on or off? | safire | osCommerce 2.2 Installation Help | 1 | 08-27-2004 12:37 PM |
| turning register_globals OFF | ippo | osCommerce 2.2 Modification Help | 0 | 01-14-2003 11:34 AM |