Home  >  Article  >  Backend Development  >  PHP uses asterisks to replace some characters in username, mobile phone and email address

PHP uses asterisks to replace some characters in username, mobile phone and email address

php中世界最好的语言
php中世界最好的语言Original
2018-05-19 10:07:001565browse

这次给大家带来PHP使用星号替代用户名手机与邮箱部分字符,PHP使用星号替代用户名手机与邮箱部分字符的注意事项有哪些,下面就是实战案例,一起来看一下。

PHP使用星号替代用户名手机和邮箱这个在许多的活动界面会看到如淘宝的购物界面中的一些客户的支付宝号都是隐藏掉的哦,下面我们来看一下它的使用方法吧.

 
 
 
 
   
     
    演示:PHP以星号隐藏用户名手机和邮箱 
     
     
     
  
          

        

          

                  

      

      

        

          

教程:PHP以星号隐藏用户名手机和邮箱

                                                                                                                                                                                                                          
账号邮箱手机
        

      

     

相信看了本文案例你已经掌握了方法,更多精彩请关注php中文网其它相关文章!

推荐阅读:

php处理抢购类高并发请求实现详解

redis计数器类使用步骤详解

The above is the detailed content of PHP uses asterisks to replace some characters in username, mobile phone and email address. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn