搜索“PHP”结果
-
PHP基于curl实现随机ip地址抓取内容的方法
使用php curl我们可以模仿用户行为,既可以设置我们访问的ip及浏览器信息还可以设置post方式。curl是一个特别牛逼的东西!~居然还可以生成随机的ip来...
技术文档 7 0 2023-06-14
-
删除文件夹内所有大于24小时的文件的PHP代码
function del_file($path = '.') { $current_dir = opendir($path...
技术文档 9 0 2023-06-14
-
PHP8.0报错 strlen(): Argument #1 ($string) must be of type string
在PHP7.x没问题,PHP8报错为:strlen():Argument#1($string)must be of type string,array give...
技术文档 4 0 2023-06-14