站长中国 - 站长社区 - 论坛列表 - 网络编程
登陆 注册
1
[引用] 主题:PHP获取当前文件名
  • cnzzad
  • 等级:略有小成
  • 积分:460
  • 帖子:450
  • 精华:0
  • 楼主站点:
  • 站长中国
  • pr>=5 baidu google均有收录,电脑网络、技术教程类网站、无作弊
<?php
define(’PHP_SCRIPT’, basename($_SERVER["SCRIPT_NAME"]));
define(’TEMPLATE_PAGE’,substr(PHP_SCRIPT,0,@strrpos(PHP_SCRIPT,”.”)));
echo PHP_SCRIPT;
?>
----------------------------------------------------------------------------------------------------
站长中国
快速回复
标题: 可不填写
内容:
[b] 加粗 [/b] = 加粗
表情:   grin  LOL  cheese  smile  wink  smirk  rolleyes  confused  surprised  big surprise  tongue laugh  tongue rolleye  tongue wink  rasberry  blank stare  long face  ohh  grrr  gulp
  downer  red face  sick  shut eye  hmmm  mad  angry  zipper  kiss  shock  cool smile  cool smirk  cool grin  cool hmm  cool mad  cool cheese  vampire  snake  excaim

热门帖子

精华帖子

最新帖子

© CopyRight 2006-2009,CNZZAD.COM, Inc. All Rights Reserved M: 2.24MB T: 0.0906
鲁ICP备05001756号
站长中国群1:30492658 精致合租咨询群1:21445564