Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / A pickup with three guys in it pulls \ | into the lumber yard. One of the men | | gets out and goes into the office. | | | | "I need some four-by-two's," he says. | | | | "You must mean two-by-four's" replies | | the clerk. | | | | The man scratches his head. "Wait a | | minute," he says, "I'll go check." | | | | Back, after an animated conversation | | with the other occupants of the truck, | | he reassures the clerk, that, yes, in | | fact, two-by-fours would be acceptable. | | | | "OK," says the clerk, writing it down, | | "how long you want 'em?" | | | | The guy gets the blank look again. | | "Uh... I guess I better go check," he | | says. | | | | He goes back out to the truck, and | | there's another animated conversation. | | The guy comes back into the office. "A | | long time," he says, "we're building a | \ house". / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;