smarty获取url参数传值程序代码
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>smarty获取url参数传值程序代码</title>
</head>
<body>
<!--{$smarty.get.url}-->
</body>
</html>
//地址栏
a.php教程?url=www.111cn.net
输出结果为
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
www.111cn.net
</body>
</html>
时间: 2024-08-23 00:10:45