osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

register_globals on or off?

This is a discussion on register_globals on or off? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I am currently trying to set up the osCommerce php files and the first thing I came across was this ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-27-2004, 12:31 PM
Lurker
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
safire
Default register_globals on or off?

I am currently trying to set up the osCommerce php files and the first thing I came across was this error:

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

I searched the forum and found a few threads that addressed this issue, but I am still in need of some help. I am conflicted as wether to continue with the advice stated in this forum to turn the register globals on when everyone else states that it would be a security issue.

Is the code for osCommerce safe to use with the register_globals on? This store will need to be secure and I don't want to be opening up a big security issue that will lead to a problem in the future.

Does anyone have any feedback on this issue? I am getting conflicting answers and I figure to come to the source to get a direct answer.

Thank you for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-27-2004, 01:37 PM
Active Member
 
Join Date: May 2003
Posts: 148
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Arpit
Default

turning register globals on should be avoided as far as possible....

having register_globals set to OFF, a variable say $foobar will not have a value unless and untill
Code:
 $foobar = $HTTP_POST_VARS[foobar];
$foobar is null.

php5 by default will have register globals turned off and from the looks of it, it COULD be even deprecated...

read this, http://us2.php.net/manual/en/security.globals.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Register_Globals is Off!!!!!! titascuet osCMax v1.7 Discussion 3 07-26-2007 04:06 AM
urgent need help: Register_Globals flyinrookie osCommerce 2.2 Modification Help 3 03-05-2006 12:33 AM
register_globals solution poiXoN osCommerce 2.2 Installation Help 8 12-31-2005 10:25 PM
REGISTER_GLOBALS hussain osCommerce 2.2 Modification Help 8 01-29-2005 01:04 PM
turning register_globals OFF ippo osCommerce 2.2 Modification Help 0 01-14-2003 12:34 PM


All times are GMT -8. The time now is 07:28 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax