• Awesome Things About PHP

    Posted in PHP on Oct 14, 2015

    We all know the magic tricks, and we all know the cool little functions. We all know the way to make dates look cool and numbers look awesome. But there are things most people don't think about.

    1. Partially Validate Email Addresses before doing any hard work. PHP has a built in function called checkdnsrr() which will take an email address and check if it resolves as an IP address. This is very cool when sending emails for example. Should checkdnsrr() return false while you are trying to send an email with this function, you can return an error informing the user that the domain probably doesn'...

Scroll To Top