smarty获取url参数传值程序代码
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.phprm.com
输出结果为
<head><meta http-equiv="content-type" content="text/html; charset=gb2312" /><title>无标题文档</title></head> <body>www.phprm.com</body></html>
永久链接:http://www.phprm.com/frame/33605.html
转载随意!带上文章地址吧。