📜  PHP get_url - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:55.130000             🧑  作者: Mango

代码示例1
$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";