PHP MSDOS Console

From: Date: Tue, 21 Aug 2001 15:55:19 +0000
Subject: PHP MSDOS Console
Groups: php.windows 
Request: Send a blank email to php-windows+get-8980@lists.php.net to get a copy of this message
Dir All, I'm a new PHP, and using PWS4.0 + PHP4.0.6-dev. It is nice to request (*.php) from browser. But I want to run *.php thru MSDOS console, so I try eg. 1/ c:\php>php -q -f hello.php => Hello ---hello.php--- <? echo "Hello"; ?> I need to pass some arguments to hello.php, but I do not know how to get the arguments from command line in hello.php. eg: 2/ c:\php>php -q -f hello.php Mr. Jonh Smith => Hello Mr. Jonh Smith ---hello.php--- <? echo "Hello".??????????????????; ?> Please give me any idea how to do this. Thanks, SereyVuth Hong Phnom Penh, Cambodia

« previous php.windows (#8980) next »