smarty gets the method share for current url
- 2021-01-03 20:51:20
- OfStack
http://{$smarty.server.SERVER_NAME}/{$smarty.server.REQUEST_URI}
Note:
{$smarty.server.SERVER_NAME}// Represents: server name
{$smarty.server.REQUEST_URI}// Indicates: Requested url
For example: https: / / www. ofstack. com/sysaction/getUserInfo php
{$smarty.server.SERVER_NAME} // Said: https://www.ofstack.com
{$smarty.server.REQUEST_URI}// Said: /sysaction/getUserInfo.php