thinkphp模板中使用系统常量,获得ip
程序员文章站
2024-01-04 18:18:23
...
{$Think.server.SERVER_ADDR}
{$Think.server.REMOTE_ADDR}
{$Think.server.SERVER_NAME}
{$Think.const.__SELF__}
{$Think.const.APP_NAME}
{$Think.now}
{$Think.template}
{$Think.version}
{$Think.LDELIM}
{$Think.server.REMOTE_ADDR}
{$Think.server.SERVER_NAME}
{$Think.const.__SELF__}
{$Think.const.APP_NAME}
{$Think.now}
{$Think.template}
{$Think.version}
{$Think.LDELIM}