sliquid Posted May 9, 2007 Share Posted May 9, 2007 Hello, I searched the forum, but I did not see any solution to this problem Im having, other than a note saying a fix was on the TODO list. My host refuses to turn register_globals On says there are security issues (which there are) and will not do it. I found this on php.net that can says it can emulate register_globals On, but I am not sure where I should be inserting this code for it to function. Here is the code: <?php // Emulate register_globals on if (!ini_get('register_globals')) { $superglobals = array($_SERVER, $_ENV, $_FILES, $_COOKIE, $_POST, $_GET); if (isset($_SESSION)) { array_unshift($superglobals, $_SESSION); } foreach ($superglobals as $superglobal) { extract($superglobal, EXTR_SKIP); } } ?> any other ideas are welcome, but I am not able to change my host at this time. Link to comment Share on other sites More sharing options...
bill110 Posted May 9, 2007 Share Posted May 9, 2007 try this http://www.oscommerce.com/community/contributions,2097 My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
Mooncradle Posted May 14, 2007 Share Posted May 14, 2007 try thishttp://www.oscommerce.com/community/contributions,2097 How exactly do you install that patch? Do you upload it insted of the current admin and catalog folders or something else? (I'm going to murder the person who suggested I should go with Goaddy) Link to comment Share on other sites More sharing options...
sliquid Posted May 14, 2007 Author Share Posted May 14, 2007 How exactly do you install that patch? Do you upload it insted of the current admin and catalog folders or something else?(I'm going to murder the person who suggested I should go with Goaddy) when you download it, the folder structure is maintained.... just replace the files that are in the original installation with those that you download in the patch Link to comment Share on other sites More sharing options...
satish Posted May 15, 2007 Share Posted May 15, 2007 http://www.oscommerce.com/community/contributions,2957 this is a contrib by vger and it works great. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.