I would summarize: The main issue is that server time is cheaper than developer time. A scripted language like PHP (or Ruby, etc.) takes about half as much time to program as bytecode or compiled language like Java (or C, C++, etc.). So if you have a team of 10 developers each paid $100K, then you… Read More


Here’s the absolute easiest way you can validate an email address using PHP. This tiny function takes advantage of the filter_var() function in PHP.

That said, you really don’t even need the function wrapper if you can remember filter_var() and the appropriate constant. Just remember that the return value will be the filtered string or… Read More