最近需要使用php实现爬虫的编写,用到的函数简单总结下
常用的php函数,文件的读写
file_get_contents()
file_put_contents()
fopen()
//创建目录,删除文件,移动文件
mkdir()
unlink()
rename()
//几个常用的字符操作函数
substr()
strrchr()
strrpos()
strpos()
strrev()
explode()
pathinfo()
常用的php函数,文件的读写
file_get_contents()
file_put_contents()
fopen()
//创建目录,删除文件,移动文件
mkdir()
unlink()
rename()
//几个常用的字符操作函数
substr()
strrchr()
strrpos()
strpos()
strrev()
explode()
pathinfo()
Warning: Undefined variable $aria_req in /www/wwwroot/lvshuige.com/wp-content/themes/JieStyle/comments.php on line 27
Warning: Undefined variable $aria_req in /www/wwwroot/lvshuige.com/wp-content/themes/JieStyle/comments.php on line 28
Warning: Undefined variable $aria_req in /www/wwwroot/lvshuige.com/wp-content/themes/JieStyle/comments.php on line 29