ASP allows me to obtain the name of the current page as follows:
<%
strPageName = Request.Servervariable("Script_Name")
%>
Thus, assigning the name (i.e. index2.asp) of the executing page to variable strPageName.
What is the PHP equivalent?
I'm attempting to display something like:
You are viewing /htdocs/help/car2.php
using something like:
<?
echo "You are viewing $PageName";
?>
Thanks!!!!
A.