下面的代码路径是http://localhost/test/index.php
alert(1)会有弹窗
//http://localhost/test/index.php?name=直接在浏览器地址栏中访问也会弹窗
if(isset($_GET['name'])){
$name = $_GET['name'];
echo $name;
}
?>
alert(1)会有弹窗
//http://localhost/test/index.php?name=直接在浏览器地址栏中访问也会弹窗
if(isset($_GET['name'])){
$name = $_GET['name'];
echo $name;
}
?>