Re: [PHP] Tried to run PHP as shell script and got the error...

2005-03-11 Thread John Nichel
Chris W. Parker wrote: John Nichel Your first line needs to have both the # and the ! (shebang) #!/usr/local/bin/php Would this also work??? williamhung/usr/local/bin/php :) Maybe now, but 20 years or so ago, it would have been... cyndilauper/usr/local/bin/php -- John C

RE: [PHP] Tried to run PHP as shell script and got the error...

2005-03-11 Thread Chris W. Parker
John Nichel on Friday, March 11, 2005 11:28 AM said: > Your first line needs to have both the # and the ! (shebang) > > #!/usr/local/bin/php Would this also work??? williamhung/usr/local/bin/php :) -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Tried to run PHP as shell script and got the error...

2005-03-11 Thread John Nichel
Scott Fletcher wrote: Hi! I'm trying to run PHP as a shell script but I got the error message... Source code below is ... --snip-- #/usr/local/bin/php --snip-- Your first line needs to have both the # and the ! (shebang) #!/usr/local/bin/php -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [E