Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / Cold be hand and heart and bone, and \ | cold be sleep under stone; never more | | to wake on stony bed, never, till the | | Sun fails and the Moon is dead. | | | | In the black wind the stars shall die, | | and still on gold here let them lie, | | till the dark lord lifts his hand over | | dead sea and withered land. | | | \ -- J. R. R. Tolkien / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;