saborchulo Posted March 7, 2006 Share Posted March 7, 2006 This is a mod that allows a OSC cart running on PHP5 to have the register_globals option disabled. Tried to keep this as with other mods I have done, as far from editing original osc code as possible. Only one minor tweak to a general osc function is required. If you use it or have a bug or question then do so here. Most of the documentation and requirements are in zip file. Quote Link to comment Share on other sites More sharing options...
saborchulo Posted March 7, 2006 Author Share Posted March 7, 2006 As a side note, this mod should also work for Osc shops running on PHP version >= 4.1.0 where the predefined $_SESSION super global is supported. In this scenario the register_long_arrays ini setting doesn't apply since the HTTP_*_VARS are available by default in >PHP 4.1.0. Quote Link to comment Share on other sites More sharing options...
Mark Ford Posted March 8, 2006 Share Posted March 8, 2006 Hi Successfully installed and testing on Linux server, (Slackware 10.2 with 2.6.15.6 Kernel) PHP 5.1.2. and a clean OSC Store - no problems encountered :D Mark Quote Link to comment Share on other sites More sharing options...
saborchulo Posted March 8, 2006 Author Share Posted March 8, 2006 Excellent, glad it is working so far. Thanks for posting. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.