Get the name of the currrent PHP file
Posted: Tue Sep 16, 2003 6:09 pm
Is there a proper way to do this in code instead of using HTML or anything?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
echo __FILE__;Code: Select all
<?php
phpinfo();
?>