Assuming you've got MT configured to create PHP files
If you
- save these lines
<?php
$fortuneFilename = 'fortunecookie.txt';
$wisecracks = file($fortuneFilename);
$wisecrackCount = count($wisecracks);
echo $wisecracks[rand(0, $wisecrackCount - 1)]
?>
in a file named fortunecookie.php, - save a list of wisecracks, one per line, in a file named fortunecookie.txt
- FTP both files to your site
- add
<?php include '[path]/fortunecookie.php'; ?>
somewhere in your template (I put it in <DIV class="description">)