advanced code snippet search
zartgesotten on 04/13/10
php path filename dirname filepath
04/13/10 05:19am
1 person have marked this snippet as a favorite
umang_nine
//get full path including filename of current file$fileTarget = __FILE__;// get absolute path$path = dirname($fileTarget);//or shortform$path = dirname(__FILE__);
Report this snippet Tweet
Comment:
You need to login to post a comment.