View file timedate/today.php
<?php $file = "1.gif"; $today = date("j.n.Y"); $one = ImageCreateFromGif($file); $text = ImageColorAllocate($one, 40, 24, 20); $text = ImageColorAllocate($one, 0, 0, 128); #ff0033 ImageString($one, 12, 5, 9, $today, $text); header("Content-type: image/gif"); ImageGif($one); ImageDestroy($one); ?>