"#!/usr/local/bin/php -q" doesn't quite do it for me.  Here's what I get
before and after adding the -q.

   $ cat xxx.php
   #!/usr/local/bin/php
   <?php
   echo "hello world\n";
   ?>
   $ xxx.php
   X-Powered-By: PHP/4.0RC2
   Set-Cookie: PHPSESSID=d74e5e80abcf1d2898588b595dc751d5
   Expires: Thu, 8 Feb 2001 17:39:17 GMT
   Cache-Control: public, max-age=60
   Last-Modified: Thu, 8 Feb 2001 17:38:13 GMT
   Content-type: text/html


   hello world
   $ cat xxx.php
   #!/usr/local/bin/php -q
   <?php
   echo "hello world\n";
   ?>
   $ xxx.php
   <br>
   <b>Warning</b>:  Cannot send session cookie - headers already sent in
<b>Unknown</b> on line <b>0</b><br>
   <br>
   <b>Warning</b>:  Cannot send session cache limiter - headers already
sent in <b>Unknown</b> on line <b>0</b><br>

   hello world


Any ideas on what I've got configured wrong?

Thanks.

---
 Bill Rausch, Software Development, Unix, Mac, Windows
 Numerical Applications, Inc.  509-943-0861   [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to