简体   繁体   中英

filter_var for password

Good evening.

I recently bump into the filter_var() of PHP. I am wondering if what type of sanitize filter and filter flag should I use with filter_var() for sanitizing my password variable? Or is there a better way to sanitize it?

无需清理密码,因为无论如何都需要对其进行哈希处理。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM