Posted by Mateusz Markowski on 09/10/06 09:42
Tuomas napisal(a):
> Hi! I am a PHP beginner, and I don't know my way around. Let's say I
> have a file named as "file.php". Is there a special variable that
> already includes the file name, or should I just manually code it into
> the script; i.e. $filename = "file.php"? I am writing a script that
> prints out some information about each HTML/PHP file in my home
> directory. The name of the file is among them.
basename(__FILE__)
[Back to original message]
|