Maison > Article > développement back-end > thinkphp模板中使用系统常量,获得ip_PHP教程
{$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}