Hello Stuart,
yes there is a <? as the first line of my script as a mater of facket
I can run a script that looks like this and I still get the problem
#!/usr/local/bin/php -q
<?php
echo "HELP";
?>
Wednesday, May 23, 2001, 9:06:08 PM, you wrote:
Stuart J. Browne> "Richard Kurth" <[EMAIL PROTECTED]> wrote in message
Stuart J. Browne> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>> I have php config as a cgi and I put this at the top of my script
>>
>> #!/usr/local/bin/php -q
>>
>> when ever I run this script at root in
>> telnet I get this message below. >
>> Error in argument 1, char 3: option not found
>> Error in argument 1, char 3: option not found
Stuart J. Browne> Code snippett would help, but it sounds as if the first line (after
the
Stuart J. Browne> hash-bang) is NOT <?.
Stuart J. Browne> I've found that oddities occur without that as the first line of your
Stuart J. Browne> script..
Stuart J. Browne> bkx
--
Best regards,
Richard
mailto:[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]