[thelist] re:PHP : getlastmod
adams.craigv
hup at telusplanet.net
Thu Mar 15 20:12:03 CST 2001
>From: Jonathon Isaac Swiderski <jonathon.swiderski at oberlin.edu>
>Is it possible to use getlastmod() in reference to one of several included
>PHP files?
I'm fairly new to PHP but..
One quick solution would be to set a global variable in the include(s).
<?php global $Mod_Date = getlastmod(); ?>
And then you can use $Mod_Date in the file that is doing the including.
At least that's my theory..
-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-
My webpage in flux: http://hup.ca/
-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-
More information about the thelist
mailing list