Hi, How can i get the path in which a PHP file is running ? for example, user clicking on a link opened page "action.php" file. this php file is located as "C:\webserver\mywebsite\php\test\action.php" how can i get this path (C:\webserver\mywebsite\php\test\)? thx. Al.