Joined December 2011
·
Posted to
PHP Encrypt, Decrypt, Generate Random Passwords with mcrypt
over 1 year
ago
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.
Posted to
PHP Encrypt, Decrypt, Generate Random Passwords with mcrypt
over 1 year
ago
Passwords should never be decyrptable. Use a 1 way hash.
Posted to
Using php? It's time to implement Composer
over 1 year
ago
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
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2014
Mongoose
Have at least one original repo where Ruby is the dominant language
Forked 20
Have an established project that's been forked at least 20 times
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
or you could just do...
$array = (array) $object;
$object = (object) $array;