Posts Tagged “PHP”

Email validation with filter_var

by admin on juli 26, 2011

When having a website that allows user-registration it’s good to check that the user data inputed is valid. A lot of people use RegExp to check if an email is valid. This is generally not the best way to do (…)

Read the rest of this entry »

RegExp snippets

by admin on juli 26, 2011

I recently came across a webpage that shares some RegExp code for some verification-purposes. And as i use RegExp a lot in my projects to check/validate – i thought i’d share it with the rest of you. Validate username Validate (…)

Read the rest of this entry »