handong888
01-14-2005, 02:36 PM
CAN anyone tell me what is php -q mean? thank you
|
Click to See Complete Forum and Search --> : Php -q handong888 01-14-2005, 02:36 PM CAN anyone tell me what is php -q mean? thank you LiLcRaZyFuZzY 01-14-2005, 02:53 PM from http://www.phpbuilder.com/annotate/message.php3?id=1016610 Message # 1016610: Date: 05/29/03 16:21 By: Far Side Subject: RE: php -q and php-4.0.6 >My script starts with: >-- >#!/usr/local/bin/php -q >-- >But when I execute the code from the >commandline: >-- >php test.php > test.html >--- Well, duh! the first line just tells posix based systems (like *nix) that it should use the PHP interpretter to process this script if it has been started from the console, and have the execute/search attribute set, by just entering: $ ./test.php > test.html to run it on W32 systems or by executing the php command you'll have to enter: php -q test.php > test.html webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |