赣南脐橙

keybr

佰草伐

导航

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 159 下一页

2020年9月3日 #

convert_uuencode — 使用 uuencode 编码一个字符串

摘要: 说明 convert_uuencode ( string $data ) : string convert_uuencode() 使用 uuencode 算法对一个字符串进行编码。 uuencode 算法会将所有(含二进制数据)字符串转化为可输出的字符, 并且可以被安全的应用于网络传输。使用 uue 阅读全文

posted @ 2020-09-03 17:23 佰草伐 阅读(117) 评论(0) 推荐(0)

convert_uudecode — 解码一个 uuencode 编码的字符串

摘要: 说明 convert_uudecode ( string $data ) : string convert_uudecode() 解码一个 uuencode 编码的字符串。php知识网 参数 data uuencode 编码后的数据 返回值 返回解码后的字符串数据, 或者在失败时返回 FALSE.。 阅读全文

posted @ 2020-09-03 17:21 佰草伐 阅读(127) 评论(0) 推荐(0)

convert_cyr_string — 将字符由一种 Cyrillic 字符转换成另一种

摘要: 说明 convert_cyr_string ( string $str , string $from , string $to ) : string 此函数将给定的字符串从一种 Cyrillic 字符转换成另一种,返回转换之后的字符串。 参数 str 要转换的字符。 from 单个字符,代表源 Cy 阅读全文

posted @ 2020-09-03 17:17 佰草伐 阅读(105) 评论(0) 推荐(0)

chunk_split — 将字符串分割成小块

摘要: 说明 chunk_split ( string $body [, int $chunklen = 76 [, string $end = "\r\n" ]] ) : string 使用此函数将字符串分割成小块非常有用。例如将 base64_encode() 的输出转换成符合 RFC 2045 语义的 阅读全文

posted @ 2020-09-03 17:15 佰草伐 阅读(175) 评论(0) 推荐(0)

chr — 返回指定的字符

摘要: 说明 chr ( int $ascii ) : string 返回相对应于 ascii 所指定的单个字符。 此函数与 ord() 是互补的。 参数 ascii Ascii 码。 返回值 返回规定的字符。 php知识网 阅读全文

posted @ 2020-09-03 17:11 佰草伐 阅读(124) 评论(0) 推荐(0)

addslashes — 使用反斜线引用字符串

摘要: 说明 addslashes ( string $str ) : string 返回字符串,该字符串为了数据库查询语句等的需要在某些字符前加上了反斜线。这些字符是单引号(')、双引号(")、反斜线(\)与 NUL(NULL 字符)。 一个使用 addslashes() 的例子是当你要往数据库中输入数据 阅读全文

posted @ 2020-09-03 17:07 佰草伐 阅读(98) 评论(0) 推荐(0)

addcslashes — 以 C 语言风格使用反斜线转义字符串中的字符

摘要: 说明 addcslashes ( string $str , string $charlist ) : string 返回字符串,该字符串在属于参数 charlist 列表中的字符前都加上了反斜线。 参数 str 要转义的字符。 charlist 如果 charlist 中包含有 \n,\r 等字符 阅读全文

posted @ 2020-09-03 16:45 佰草伐 阅读(107) 评论(0) 推荐(0)

2020年9月1日 #

JavaScript专题之数组去重

摘要: const array = [1, 1, '1', '1']; function unique(array) { // res用来存储结果 const res = []; const arrayLen = array.length const resLen = res.length for (var 阅读全文

posted @ 2020-09-01 14:36 佰草伐 阅读(95) 评论(0) 推荐(0)

2020年8月20日 #

php 数组与URL相互转换

摘要: php为了数组与url参数相互转换提供了两个函数: 1,数组转换为带&的URL的字符串 例如: $arr =['title'=>'我是小白','name'=>'真的很白','text'=>'但是决不放弃']; $res =urldecode(http_build_query($arr)); var_ 阅读全文

posted @ 2020-08-20 16:16 佰草伐 阅读(166) 评论(0) 推荐(0)

2020年8月19日 #

vue中query与params传参的区别

摘要: query传参方式 JavaScript this.$router.push({ path: '/home', query: { id: '19961022' } }) query取值方式 JavaScript mounted(){ this.id = this.$route.query.id; } 阅读全文

posted @ 2020-08-19 16:35 佰草伐 阅读(312) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 159 下一页

keybr

php基础知识

Wood Furniture