Home >php教程 >php手册 >thinkphp模板中使用系统常量,获得ip

thinkphp模板中使用系统常量,获得ip

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 10:58:101011browse

{$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}

Statement:
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