RE: [PHP] Using register_globals

2003-06-06 Thread Lars Torben Wilson
On Thu, 2003-06-05 at 05:28, Jay Blanchard wrote: > [snip] > Another issue I haven't read so far is that making your script work when > register_globals is off makes it to be more compatible since scripts > using GET and POST array should still work on systems that have > register_globals turned

RE: [PHP] Using register_globals

2003-06-05 Thread Jay Blanchard
[snip] Another issue I haven't read so far is that making your script work when register_globals is off makes it to be more compatible since scripts using GET and POST array should still work on systems that have register_globals turned on. [/snip] So what you're asking for is a variable handle

Re: [PHP] Using register_globals

2003-06-05 Thread Lars Torben Wilson
On Thu, 2003-06-05 at 01:09, [EMAIL PROTECTED] wrote: > One thing that hasn't been mentioned explicitly about register_globals > turned to off is the readablity of the code and thus the reuse of code. > When you use GET, POST, etc... everybody reading your script knows exactly > where the data i

Re: [PHP] Using register_globals

2003-06-05 Thread SLanger
One thing that hasn't been mentioned explicitly about register_globals turned to off is the readablity of the code and thus the reuse of code. When you use GET, POST, etc... everybody reading your script knows exactly where the data is coming from and can make a fairly good assumption to its us

[PHP] Using register_globals

2003-06-05 Thread Todd Cary
I have noticed that quite a few applications are designed with the assumption that "register_globals = Yes"; in other words, the application does not use $HTTP_xxx_VARS.  In contrast, I always retrieve my vars. Is there a preference? Todd --