Use system constants in thinkphp templates and get the ip_PHP tutorial
WBOY
Release: 2016-07-14 10:11:51
Original
1014 people have browsed it
{$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}
http://www.bkjia.com/PHPjc/477252.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477252.htmlTechArticle{$Think.server.SERVER_ADDR}br /!--The ip of the current server-- {$Think.server .REMOTE_ADDR}br /!--Visitor external ip-- {$Think.server.SERVER_NAME}br /!--localhost-- {$Think.const.__SELF_...
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn