Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / The Road goes ever on and on Down from \ | the door where it began. Now far ahead | | the Road has gone, And I must follow, | | if I can, Pursuing it with eager feet, | | Until it joins some larger way Where | | many paths and errands meet. And | | whither then? I cannot say. | | | \ -- J. R. R. Tolkien / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;