php预定义常量运用

当前url 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; 当前文件路径 dirname(__FILE__)
header("Content-type:text/html;charset=utf-8");
posted @ 2017-09-20 20:53  不拨牙  阅读(90)  评论(0编辑  收藏  举报