2023-08-08T03:14:55.png

<?php
if(isset($_SERVER['HTTP_REFERER'])){
    $previousPage = $_SERVER['HTTP_REFERER'];
    echo "上一页网址是:" . $previousPage;
} else {
    echo "没有上一页网址";
}
?>