![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
chaoping315
这个作者很懒,什么都没留下…
展开
-
php 字符串与2进制的转换
FUNCTION bin2text($bin_str) { $text_str = ''; $chars = EXPLODE("\n", CHUNK_SPLIT(STR_REPLACE("\n", '', $bin_str), 8)); $_I = COUNT($chars); FOR($i = 0; $i $_I; $text_str .= CHR(B转载 2013-09-09 15:38:16 · 1652 阅读 · 0 评论 -
PHP http(file_get_content) GET与POST请求方式
1.GET方式请求[php] view plaincopy $data = array('sParam1'=>'test1','sParam2'=>101,'isAuto'=>1); //定义参数 $data = @http_build_query($data); //把参数转换成URL数据转载 2014-02-09 18:18:33 · 16864 阅读 · 0 评论