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...