Regular Expressions are equally complicated and elegant at the exact same time. They may be made to look like someone was only hammering randomly on their keyboard. They’re also a remarkably effective and elegant solution to describing the structure of the text and fitting those structures. They’re very handy...
Continue reading
August 19, 2021 techsupport
Uncategorized
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
August 19, 2021 techsupport
Open Source
Minimum eight characters, at least one letter and one number: Minimum eight characters, at least one letter, one number and one special character: Minimum eight characters, at least one uppercase letter, one lowercase letter and one number: Minimum eight characters, at least one uppercase letter, one lowercase letter,...
Continue reading
August 18, 2021 techsupport
Uncategorized
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
August 18, 2021 techsupport
Open Source, opencart
With cyber security becoming a larger concern to businesses online I thought I would write a blog post on how you can ensure that passwords are strong enough on customer accounts.When customers register for an account on a default OpenCart installation, the only requirement seems to be that...
Continue reading
August 18, 2021 techsupport
opencart