Re: Php and Fortune

From: Date: Thu, 23 Oct 2003 03:07:50 +0000
Subject: Re: Php and Fortune
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167218@lists.php.net to get a copy of this message
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


« previous php.general (#167218) next »