Could someone please tell me how to reference the current php file. There must be an equivalent to the ‘this’ identifier that’s in flash!
e.g. how could I modify this code so that it’ll run on whichever page its placed.
$last_modified = filemtime(“THIS.php”);
print("<h3>last updated: ");
print(date(“m/j/y h:i</h3>”, $last_modified));
Cheers good people of Kirupa!
ps I’m new to php (big surprise!), what should I call it PHP, php, Php, etc? Just wondered! Thanks again!