星期一, 九月 11, 2006

Getting Current File's Path

dirname(__FILE__)

That is it , which confused me a long time before , now I just got it ..= v =

simple example: echo dirname(__FILE__); for display current file's path

没有评论: