use one of PHP's handy built in functions
preg_match, preg_grep for arrays.
For the website, less opacity.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!use one of PHP's handy built in functions
preg_match, preg_grep for arrays.
For the website, less opacity.
Just a suggestion, you could create an array of "bad words" for passwords, and use one of PHP's handy built in functions to see if $password matches (or partially matches) one of those "bad words." Also, for emails, you should use <input type="email" etc.
(Just to nitpick, if passwords can be between 6 and 12, make sure to include the lengths of 6 and 12 as well)
$illegalpw = array("qwerty", "password", "adminator", "password123", "123456", "abcdef");
if ($illegalpw != $password) {
echo "Illegal Password is being used.";
}
I'm not sure what you mean by that. But, I did just found out about the 'input pattern' field. Are you talking about that?(Just to nitpick, if passwords can be between 6 and 12, make sure to include the lengths of 6 and 12 as well)
Yea, I did an illegal password with an array after I finished this website xD.
But, yea that's still an amateur code :
PHP:$illegalpw = array("qwerty", "password", "adminator", "password123", "123456", "abcdef"); if ($illegalpw != $password) { echo "Illegal Password is being used."; }
I'm not sure what you mean by that. But, I did just found out about the 'input pattern' field. Are you talking about that?
You must be registered to see links
Have you realized that anything positive is directed to burblish and anything negative is directed towards you? I really think you should think about why this is the case.
You really need to learn the difference between a Website Template and a Content Management System Wordpress is a CMS, Freewebsitetemplates.com offers What you've submitted.
You rip CSS, JS and HTML. Not PHP.
But see, it's not a CMS.i prefer calling it a simple cms rather than template
But see, it's not a CMS.
So why call it what its not?
It's just semantics..if you can read/write news then yes, you could say it's a "CMS." It really doesn't matter what you call the website.