Get current working directory of php script/application

$myPath = realpath(dirname(__FILE__));

or

$myPath = getcwd();
Tags:
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments