百度搜索的时候出现http://123.56.152.175/uni.php?tn=SE_hldp00222_8za8tp97是怎么回事呢!

2020-10-28 科技 79阅读
echo ' web-root = '.$_SERVER['DOCUMENT_ROOT'].'
';
echo ' current-file = '.__FILE__.'
';
echo ' current-dir = '.dirname(__FILE__).'
';

echo ' http-root = '.$_SERVER['HTTP_HOST'].'
';
echo ' web-position = '.$_SERVER['PHP_SELF'].'
';
$file='c:/webroot/index.php';
echo ' file-position = '.$file.'
';

$fileWebAddress='http://'.str_replace($_SERVER['DOCUMENT_ROOT'],$_SERVER['HTTP_HOST'],$file);
echo ' file-web-position = '.$fileWebAddress.'
';
?>
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com