≪ クローラー用にtitleに時間を表示 | TOP | 時間帯で数字を自動的に変化させる ≫
2007年12月10日
■ クローラー用にtitleに時間を表示②(PHP版)
index.phpなどのphp内に以下を記述
$path = $_SERVER["DOCUMENT_ROOT"] . $_SERVER["PHP_SELF"]; $lastmod = date("Y/n/j", fileatime($path));
<title>内に
<?php print($lastmod); ?>
を追記でOK
2007年12月10日 02:14
トラックバック
このエントリーのトラックバックURL:
http://open.free-creator.com/mt-tb.cgi/175