Hi Elias,

@ 7:51:25 PM on 5/23/2001, elias wrote:

--(snip)--
> I can use $PHP_SELF to get it's name.
> how can i get it's name and location on the hard drive?

Try $SCRIPT_FILENAME

If that doesn't produce anything, stick this in a file and view it in
your browser. One, or more, of the vars displayed in the "PHP
Variables" section should provide what you're looking for.

<?php

phpinfo();

?>

-Brian
--
 PGP is spoken here: 0xE4D0C7C8
 Please, DO NOT carbon copy me on list replies.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to