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>";
}
?>