<?php $str=file_get_contents("serveInfo.php?id=$id"); ?>
$url="http://XXXXXXXXXXXX/serveInfo.php?serveIp=$arr[ip]"; $fp=@fopen($url,"r") or die("连接超时"); echo $fcontent=file_get_contents($url);
用file_get_contents获取serveInfo.php页面内容,同时也把参数传递过去了 PHP code?123<?php$str=file_get_contents("serveInfo.php?id=$id");?>
21,886
社区成员
140,364
社区内容
加载中
试试用AI创作助手写篇文章吧