Home » Archive by category Open Source

How to validate password with regular expression,PHP

Today’s post is about password validation in PHP using Regular Expressions. Here is the small use full Password Validation function. function is_valid_password($password) {    return preg_match_all(‘$S*(?=S{8,})(?=S*[a-z])(?=S*[A-Z])(?=S*[d])(?=S*[W])S*$’, $password) ? TRUE : FALSE;} Password Regular Expression Pattern $S*(?=S{8,})(?=S*[a-z])(?=S*[A-Z])(?=S*[d])(?=S*[W])S*$ Regular Expression Pattern Description      $ =                 beginning of string    S* =                any set of characters(non-whitespace...
Continue reading

OC 3.0.2.0 – Password Length & Complexity

Go to file catalog/view/YOUR-THEME/default/template/account/register.php,Search for the line :<input type=”password” name=”password” value=”{{ password }}” placeholder=”{{ entry_password }}” id=”input-password” class=”form-control” /> Replace It with :<input type=”password” name=”password” value=”{{ password }}” placeholder=”{{ entry_password }}” id=”input-password” class=”form-control” pattern=”^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d$@$!%*?&]{8,}” title=”Minimum eight characters, at least one uppercase letter, one lowercase letter, one number and...
Continue reading

web signature capture javascript

https://willowsystems.github.io/jSignature/#/about/ https://codepen.io/kunukn/pen/kkbNvx https://www.jqueryscript.net/tags.php?/Signature%20Pad/ https://plainjs.com/javascript/plugins/signature-pad-102/
Continue reading

AMP

AMP is a web component framework to easily create user-first  website
Continue reading

Bootstrap

Build responsive, mobile-first projects on the web with the world’s most popular front-end component library. Bootstrap is an open source toolkit for developing with HTML, CSS, and JS. Quickly prototype your ideas or build your entire app with our Sass variables and mixins, responsive grid system, extensive prebuilt...
Continue reading