Re: run php in commandline
| From: | JIM | Date: | Wed, 31 Oct 2001 20:17:30 +0000 |
| Subject: | Re: run php in commandline | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69453@lists.php.net to get a copy of this message | ||
i want to get the result like this,
"apple is good_fruit..."
with below command and code,
php getdata.php?$apple=good_fruit
code of getdata.php ,
<?
echo "apple is $apple...";
?>
"Markus Fischer" <mfischer@guru.josefine.at> ¼¶¼g©ó¶l¥ó·s»D
:20011101085355.A28947@guru.josefine.at...
> You can: php -f getdata.php apple orange