Hello Chuck--

You can use a number of PHP functions, such as shell_exec and passthru, which will run an external app and return its result either in a variable or directly to the output. Some more info regarding this specific problem (and a script) here:

http://www.phparch.com/mailinglists/msg.php?a=572205&s=fortune&p=&g=

Cheers,


Marco


Chuck PUP Payne wrote:
Hi,

Is there a way I can get php to call the program fortune then print that a
web page.

Thanks.

Payne


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to