Blog Posts - Realpath Php



Finding absolute path in php

Following line is the direct and simple solution to find absolute of current file/directory. < ?php echo realpath(dirname(__FILE__)); ?> more explanation for the functions used in above line, dirname — Returns parent directory’s path. realpat...
by tech99 on Aug 11, 2012


Trending Topics

Close