Hi all.
I'm working on converting a discussion group app that I wrote into PHP and MySQL. I'd like to make it run on any platform with little configuration.
Seeing as how PHP is so configurable, I'm wondering what protections I need to code to prevent errors.
For example, the magic_quotes_gpc setting. Based on this setting, I may or may not need to use the addslashses function on input strings. So I had to write a new addslashes function that worked based on the value of get_magic_quotes_gpc(). This hassle made me wonder what the benefit of magic_quotes really was.
Are there other similar pitfalls that I need to be aware of?
Thanks for your input.