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 is coming from and can make a fairly good assumption to its 
> use. On the other hand when using register_globals on, you have no way of 
> knowing without having to step through the whole script. 
> And lets be honest, most developers tend to be sloppy on commenting their 
> code since they think it is perfectly self explanatory. (including me btw) 
> 
> 
> Another issue I haven't read so far is that making your scrip 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. 
> 
> Regards
> Stefan

At the risk of sending a 'me too' message to the list, I would just
like to say that I think these are excellent points.


Torben

-- 
 Torben Wilson <[EMAIL PROTECTED]>                        +1.604.709.0506
 http://www.thebuttlesschaps.com          http://www.inflatableeye.com
 http://www.hybrid17.com                  http://www.themainonmain.com
 -----==== Boycott Starbucks!  http://www.haidabuckscafe.com ====-----




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to