Click to See Complete Forum and Search --> : PHP as a command line script engine


mbariou
07-29-2002, 07:43 AM
I use PHP 4.2.2 as a command line script engine
It works correctly, except When I try to run from a file with the included path to the php script engine:

#!/usr/local/php/bin/php
<?php
echo "PHP WORKS\n";
?>

I've always :
Error in argumentb 1 , char 3 option not found
Error in argumentb 1 , char 4 option not found
Error in argumentb 1 , char 5 option not found
Error in argumentb 1 , char 3 option not found

Where am'I wrong could somebody tell me ?
I met this probleme with previous release and I don't solve it.
Thanks for your help

Marcel