Posted by Markus L. on 07/10/05 03:58
Am Sat, 09 Jul 2005 19:13:37 +0000 schrieb Enter The:
> Hey,
>
> Suppose I had a script called file.php.
>
> Within file.php, how do I parse file.php into a variable? I don't want to
> explicityly tell the script that it's called file.php as I want to do this
> with many files.
>
> Thanks,
>
> Anon.
Use the constant __FILE__
--
-------------------------------------------------------
Try this: SCA the Smart Class Archive for PHP
http://www.project-sca.org
-------------------------------------------------------
[Back to original message]
|