0%

PHP Smarty引擎 保留变量$smarty的使用

{$smarty.get.user} {*读取get请求中的user参数*} {$smarty.post.user} {*读post*} {$smarty.request.user} {*读post和get*} {$smarty.session.user} {*读session*} {$smarty.cookies.user} {*读cookies*} {$smarty.server.SERVER_NAME} {*读主机名*}