thinkphp模板中使用系统常量,获得ip
程序员文章站
2024-02-14 08:21:28
...
{$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}