Joined December 2011
·

Tom Schlick

Software Engineer at RunMyBusiness
·
Pittsburgh, PA
·
·
·

or you could just do...

$array = (array) $object;

$object = (object) $array;

clients are generally idiots when it comes to data security. there is no need to ever decrypt a users password even for integration with 3rd party things (use oauth or some means of tokening). thats just asking for trouble especially when you are a newbie trying to build your first app.

Passwords should never be decyrptable. Use a 1 way hash.

Composer has put new life into PHP, especially with frameworks coming together and agreeing on the PSR standards

Posted to PHP Email Validation REGEX over 1 year ago

filtervar($email, FILTERVALIDATE_EMAIL) is all you need

Achievements
91 Karma
1,383 Total ProTip Views