php文件
假设在网站根目录下有文件index.php
<?php
$UID = $_GET['UID'];
echo 'UID is: '.$UID;
?>
浏览器测试
可以输入: 网址/index.php?UID=3
假如网站为www.baidu.com
则为www.baidu.com/index.php?UID=3
微信扫一扫
假设在网站根目录下有文件index.php
<?php
$UID = $_GET['UID'];
echo 'UID is: '.$UID;
?>
可以输入: 网址/index.php?UID=3
假如网站为www.baidu.com
则为www.baidu.com/index.php?UID=3
相关推荐