SoFunction
Updated on 2025-03-03

Regularity for special symbols such as PHP filtering★


if(preg_match("/[ '.,:;*?~`!@#$%^&+=)(<>{}]|\]|\[|\/|\\\|\"|\|/",$user)){
echo 'Don't put some special symbols in the name, please only use letters, numbers and Chinese characters. Of course, your browser should choose simplified Chinese GB2312, and never choose traditional Chinese, Chinese HZ, etc. After returning to the modification, come back and I'll wait for you! ';
exit();
}