Requires regular login validation expression.
It is allowed to use only Latin letters, numbers, "-", "_" (line and underscore). The minimum number of lat. letters - 4, the maximum number of digits - 4, underscores and dashes - 4.
My original line is:
if( preg_match( "/[\||\'|\<|\>|\[|\]|\"|\!|\?|\$|\@|\#|\/|\\\|\&\~\*\{\+]/", $name ) ) $stop .= $lang['reg_err_4']; How can I fix it to meet all the conditions?
ya12---misha--224potapov---666validin or not? - Alexey Shimansky