Loading...
echo getip(); function getip(){ if (isset($_SERVER["HTTP_CLIENT_IP...
<?php //文件路径 $path="test.txt"; //判断文件是否存在 if(file_exists($path)...
修改nginx配置文件location / { try_files $uri $uri/ $uri.php?$args; }重启nginx生效
NGINX网站只允许CF IP访问方法:在网站设置里面,配置文件,放置在server里面nginxlocation / { allow 173.2...
封装的一个curl方法:<?php $a=new CURL(); $a->url="https://baidu.com"...