摘要: $colorArr = array(0x912CEE, 0x99ff00, 0x312520, 0x801dae, 0x25f8cb, 0xCC3333, 0x808080, 0xa29b7c, 0xbce672, 0x44cef6, 0xc2ccd0, 0x8d4bbb, 0x2e... 阅读全文
posted @ 2015-03-11 15:56 timelesszhuang 阅读(1356) 评论(0) 推荐(0)
摘要: 文件名 test.php1、__FILE__ 获取 “路径 + 文件名” : /var/www/test/test.phpecho __FILE__; //取得当前文件的路径:用魔术常量 __FILE__,这里的路径包含了文件名2、basename获取 “文件名”:test.phpecho base... 阅读全文
posted @ 2015-03-11 15:32 timelesszhuang 阅读(4381) 评论(0) 推荐(1)