if (isset($_SERVER['HTTP_REFERER'])) {
print "The page you were on previously was {$_SERVER['HTTP_REFERER']}
";
} else {
print "You didn't click any links to get here
";
}
?>
Click me!
http://www.bkjia.com/PHPjc/445349.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445349.htmlTechArticleif (isset($_SERVER[HTTP_REFERER])) { print The page you were on previously was {$_SERVER[HTTP_REFERER]} ; } else { print You didnt click any links to get here ; } ? Click me!...
Kenyataan:Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn