How do I get the filename or script name if I run it in php comamnd line? For 
example, if I run this

bash$ php test.php

I want to get something inside test.php that tells me the filename is 
test.php, but *without* the actual path.

Reuben D. Budiardja

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