Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

A Quick One:
Portable Code
Feb 02, 2002 @ 01:54:52

Just a quick one tonight before I take off....
DevArticles.com has another new article posted about making your PHP code more portable (ironically written by the same author of this tutorial on our site - Derek Comartin).
In it, he talks about OTC ("Other People's Code") that only works exactly right of you follow these exact steps and don't mess up...He gives several suggestions for maching things work that much smoother in your scripts such as:

  • using $HTTP_*_VARS arrays more
  • Error reporting
  • Small performance increases (with strings, mainly)
  • and how creating version-specific scripts is a no-no
It's a nice beginning article, with some good ideas in it - I just wish there was more of it...so anyway, enjoy!
tagged:

Link:


Trending Topics: