Skip to main content.
home | support | download

Back to List Archive

Re: using php for prog

From: David L Norris <dave(at)not-real.webaugur.com>
Date: Tue Sep 28 2004 - 05:25:41 GMT
On Mon, 2004-09-27 at 21:31 -0700, Bill Moseley wrote:
>   php foo.php > output
>   swish-e -c config -S prog -i stdin < output

If its on UNIX then one can use something like to make the script
executable.
#!/usr/bin/php -q

-q suppresses HTTP headers.  That's probably required regardless of how
the script is run.

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
Received on Mon Sep 27 22:25:53 2004