Loading

09 2021 档案

摘要:使用navicat连接mysql报10038错时解决方法: 1.mysql 赋予root权限(进入mysql数据库执行) GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '密码 WITH GRANT OPTION; FLUSH PRIV 阅读全文
posted @ 2021-09-26 11:41 头牌彭鱼宴、 阅读(251) 评论(0) 推荐(0)
摘要:public function get_redirect_url($url){ error_reporting(0); $header = get_headers($url, 1); if (strpos($header[0], '301') !== false || strpos($header[ 阅读全文
posted @ 2021-09-15 15:37 头牌彭鱼宴、 阅读(124) 评论(0) 推荐(0)
摘要:1、 $file = 'x.y.z.png'; echo substr(strrchr($file, '.'), 1); strrchr() 函数查找字符串在另一个字符串中最后一次出现的位置,并返回从该位置到字符串结尾的所有字符。 2、 $file = 'x.y.z.png'; echo subst 阅读全文
posted @ 2021-09-11 10:02 头牌彭鱼宴、 阅读(114) 评论(0) 推荐(0)