<?php
if(isset($_SERVER['HTTP_REFERER'])){
$previousPage = $_SERVER['HTTP_REFERER'];
echo "上一页网址是:" . $previousPage;
} else {
echo "没有上一页网址";
}
?>
<?php
if(isset($_SERVER['HTTP_REFERER'])){
$previousPage = $_SERVER['HTTP_REFERER'];
echo "上一页网址是:" . $previousPage;
} else {
echo "没有上一页网址";
}
?>
info 还没有任何评论,你来说两句呐!