Um... the file in which you put that command should be there... :) What is the purpose for knowing the directory name? Maybe there is something else you can tell us that will get you the answer you're looking for.
(V) ----- Original Message ----- From: "Gabriel_k" <[EMAIL PROTECTED]> > What if there is no file? > "Heyz" <[EMAIL PROTECTED]> skrev i meddelandet > > It's simple. > > > > dirname(__FILE__) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php