> #!/path.to/php -q
>
> I'd like to suggest the -q option for PHP shell scripts, which I rely
> on every day.


Ssssshhhhh!! We dont want to give away *everything* heh... bah ... well I
might as well give you the rest of the info.

[14:03:50][dhardiker@amnesiac]:~$ php -?

Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] |  {<file> [args...]}

  -q             Quiet-mode.  Suppress HTTP Header output.

  -s             Display colour syntax highlighted source.

  -f <file>      Parse <file>.  Implies `-q'

  -v             Version number

  -C             Do not chdir to the script's directory

  -c <path>      Look for php.ini file in this directory

  -a             Run interactively

  -d foo[=bar]   Define INI entry foo with value 'bar'

  -e             Generate extended information for debugger/profiler

  -z <file>      Load Zend extension <file>.

  -l             Syntax check only (lint)

  -m             Show compiled in modules

  -i             PHP information

  -h             This help

[14:03:52][dhardiker@amnesiac]:~$


everything there is pretty self explanitory... as is the reason for using
option q ;)

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer



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

Reply via email to