Well, I want my php script to put the TITLE of a html page to the name of the directory the script is in.
/Gabbah "H Marc Bower" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > 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