http://{$smarty.server.SERVER_NAME}/{$smarty.server.REQUEST_URI}
Note:
Copy code The code is as follows:
{$smarty.server.SERVER_NAME}//Indicates: server Name
{$smarty.server.REQUEST_URI}// means: requested url
For example: http://www.jb51.net/sysaction/getUserInfo.php
Copy code The code is as follows:
{$smarty.server.SERVER_NAME} //Represents: http://www.jb51. net
{$smarty.server.REQUEST_URI}// means: /sysaction/getUserInfo.php
http://www.bkjia.com/PHPjc/825257.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/825257.htmlTechArticlehttp://{$smarty.server.SERVER_NAME}/{$smarty.server.REQUEST_URI} Comments: Copy The code is as follows: {$smarty.server.SERVER_NAME}//Indicates: server name {$smarty.server.REQUEST...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn