Profile
Achievement
StevenW721's Recent PHP Snippets
- All /
« Prev 1 Next »
Adds a method to the jQuery Validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) to return false if the field equals a specified string
0
2838
posted 13 years ago by StevenW721
Calling generateHash() with a single argument (the plain text password) will cause a random string to be generated and used for the salt. The resulting string consists of the salt followed by the SHA-1 hash - this is to be stored away in your databas...
3
2944
posted 14 years ago by StevenW721
A simple one page form with attachment that is meant to go straight to the email and not uploaded to the server. Emails an HTML version, a PlainText version and the attachment if there is one.
4
2519
posted 15 years ago by StevenW721
This one controller will load views based on the URI segments returned, good for static sites that don\\\\\\\'t require a controller for every page. Requires a view \\\\\\\"404\\\\\\\" as a default when nothing is found.
0
1482
posted 15 years ago by StevenW721