![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
函数
whaxkl
码农
展开
-
PHP 获取随机数量中文、GET、POST请求
【代码】PHP 获取随机数量中文、GET、POST请求。原创 2023-07-25 17:46:49 · 42 阅读 · 0 评论 -
获取客户端IP以及代理IP
https://blog.csdn.net/xianhenyuan/article/details/92668464原创 2019-09-06 15:45:06 · 666 阅读 · 0 评论 -
php获取一个月的第一天和最后一天
http://www.thinkphp.cn/code/1051.html//调用demodate=date(′Y−m−dH:i:s′);//当前时间printr(getthemonth(date = date('Y-m-d H:i:s'); //当前时间print_r(getthemonth(date=date(′Y−m−dH:i:s′);//当前时间p...转载 2019-08-30 13:40:35 · 871 阅读 · 0 评论 -
tp5 时间查询
https://blog.csdn.net/qq_37138818/article/details/82803575转载 2019-08-16 09:39:03 · 732 阅读 · 0 评论 -
php获取本年、本月、本周时间戳和日期
https://blog.csdn.net/qq_40018938/article/details/81031414转载 2019-08-16 09:36:34 · 469 阅读 · 0 评论 -
php获取今日、昨日、最近7天、最近30天等的时间戳方法
http://www.caizhichao.cn/738.html$seven_day = date(“Y-m-d”,strtotime("-7 day"));$thirty_day = date(“Y-m-d”,strtotime("-30 day"));$ninety_day = date(“Y-m-d”,strtotime("-90 day"));$date = date(“Y-m-...转载 2019-08-16 09:34:13 · 7756 阅读 · 0 评论 -
PHP根据数组下标字段排序array_multisort
$arr = array(‘a’=> array(‘bbb’ => 222,‘bbbbbbbbbbbbbbb’ => ‘sdasfasfasdfa’),‘b’=> array(‘bbb’ => 52412320,‘jjjjjjjjjj’ => ‘sdasfasfasdfa’),‘c’=> array(‘bbb’ => 2220,...转载 2019-08-15 15:49:18 · 1275 阅读 · 0 评论 -
模拟POST请求
html=′′;foreach(html = ''; foreach (html=′′;foreach(native as $key => $val){KaTeX parse error: Expected '}', got 'EOF' at end of input: …"<input name='{key}’ type=‘tex...原创 2019-08-20 16:29:59 · 2503 阅读 · 0 评论 -
PHP字符串输出HTML标签
$str = <<<EOF <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="" />...转载 2019-08-15 14:15:14 · 2180 阅读 · 0 评论 -
PHP保留两位小数的三种方法
echo number_format(100, 2); //100.00https://blog.csdn.net/qq_36359364/article/details/80857311转载 2019-08-24 10:36:10 · 543 阅读 · 0 评论