Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / Piping down the valleys wild, Piping \ | songs of pleasant glee, On a cloud I | | saw a child, And he laughing said to | | me: "Pipe a song about a Lamb!" So I | | piped with merry cheer. "Piper, pipe | | that song again;" So I piped: he wept | | to hear. | | | \ -- William Blake, "Songs of Innocence" / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;