current directory with getcwd() in php getcwd.php :<?phpecho getcwd();?> output :E:\xampp\htdocs\1 Email This BlogThis! Share to X Share to Facebook