Jump to content

[SOLVED] preg_match help


darkfreaks

Recommended Posts

ok i am making an ajax/PHP bassed password checker however my site currently doesnt allow non-character's accept underscore. how would i change the following statement :confused:

 

 

<?php
// non word characters
        if(preg_match("/(W+)/", $password)) {
            $strength++;
        }
?>

Link to comment
https://forums.phpfreaks.com/topic/173284-solved-preg_match-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.