Skip to main content.
home | support | download

Back to List Archive

Re: using php for prog

From: Nick Le Mouton <noodles(at)>
Date: Tue Sep 28 2004 - 05:35:18 GMT
I tried #!/usr/bin/php and #!/usr/bin/php at the top of the script and it
just seems to spit out all of the php code instead of execute it

-----Original Message-----
From: []
On Behalf Of David L Norris
Sent: Tuesday, 28 September 2004 5:25 p.m.
To: Multiple recipients of list
Subject: [SWISH-E] Re: using php for prog

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
#!/usr/bin/php -q

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

 David Norris
  ICQ - 412039
Received on Mon Sep 27 22:35:27 2004