Blogger Information
Blog 14
fans 0
comment 0
visits 6990
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
第十四课 MD5加密与if语句
清风King
Original
465 people have browsed it

一、MD5加密

  • 把字符串加密为32位的加密码
  • md5不能解密,没有反转。
  • sha1加密为40位的加密码
    1. md5();
    2. sha1();
  • 不能加密数组

    二、数组函数

    动态传值,用$args
    1. function arg(...$args){
    2. print_r($args)
    3. }

    三、if语句与if条件

    1. if(条件){
    2. 代码:
    3. }
    4. else if(条件){
    5. 代码:
    6. }
    7. else{
    8. 代码:
    9. }
Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post