Quote:
Originally Posted by Videx
Sorry I don't know the answer. But a question: What advantage does validation in W3C give you? I mean, does it work as it is, and if so, why should you want to change it?
|
Because it's good to follow standards. And when it comes to encoding html entities, it's safer in terms of URL hack attempts and MySQL injections.
It's common and normal practice to always encode URLs. Plus there is the satisfaction of having valid markup.
I imagine it is a very small thing indeed to encode the URL before echoing it, which is why somebody might know what file needs the edit added.