RE: [PHP] register_globals On

2003-02-18 Thread Johnson, Kirk
> I'm thinking of running a shopping cart package (osCommerce) > that requires > register_globals to be enabled. With all the warnings about > security with > register_globals enabled I'm worried. > > How dangerous is it? The key defensive step is to initialize all of your session variables at

Re: [PHP] register_globals On

2003-02-17 Thread David Eisenhart
yeh, I'd strongly agree with Jonathan's view that quality of the code can mitigate against the dangers of register_globals. FYI, an interesting article on php vulnerabilities is at: http://www.securereality.com.au/studyinscarlet.txt David Eisenhart "Jonathan Pitcher" <[EMAIL PROTECTED]> wrote i

Re: [PHP] register_globals On

2003-02-17 Thread Jonathan Pitcher
Sam, The register_globals can be dangerous to turn on but it really depends on the quality of code that the shopping cart was written. See Examples below for explanation. Say you had a script that looked like this. $Q = "Select * from Stored CreditCards where User='$User'"; . Retriv

[PHP] register_globals On

2003-02-17 Thread Sam
I'm thinking of running a shopping cart package (osCommerce) that requires register_globals to be enabled. With all the warnings about security with register_globals enabled I'm worried. How dangerous is it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] register_globals on or off?

2001-04-03 Thread Yasuo Ohgaki
Refer to the PHP Manual for details. http://www.php.net/manual/en/language.variables.external.php The Manual is worth to read :) (Don't forget to read FAQ also, it seems FAQ is updated recently) Regards, -- Yasuo Ohgaki ""hi"" <[EMAIL PROTECTED]> wrote in message 9acn9h$bgp$[EMAIL PROTECTED]">

Re: [PHP] register_globals on or off?

2001-04-03 Thread Hardy Merrill
hi [[EMAIL PROTECTED]] wrote: > Hi, > > Could someone explain what the following passage in php.ini means: > > You should do your best to write your scripts so that they do not require > ; register_globals to be on; Using form variables as globals can easily > lead > ; to possible security pro

Re: [PHP] register_globals on or off?

2001-04-03 Thread Rasmus Lerdorf
> Could someone explain what the following passage in php.ini means: > > You should do your best to write your scripts so that they do not require > ; register_globals to be on; Using form variables as globals can easily > lead > ; to possible security problems, if the code is not very well thou

[PHP] register_globals on or off?

2001-04-03 Thread hi
Hi, Could someone explain what the following passage in php.ini means: You should do your best to write your scripts so that they do not require ; register_globals to be on; Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought of