Included file information
Posted: Sun Jan 09, 2005 9:51 am
Is it possible (and how), to reveal the actual file the is executing.
Code: Select all
<?php
If(isset($_GET['debug']))
if($_GET['debug']=="file")
{
$location = The actual included file that has the script currently executing;
echo"<div style="background:#FAA; border:something....;">$location</div>";
}
?>