This is not an answer, but a further question on this subject. Do you (or
anybody) know of a way to keep the path to PHP from showing up when the PHP CGI
script is hit via HTTP?
On Wed, 23 May 2001, Stuart J. Browne wrote:
> "Richard Kurth" <[EMAIL PROTECTED]> wrote in message
> [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
>
> Code snippett would help, but it sounds as if the first line (after the
> hash-bang) is NOT <?.
>
> I've found that oddities occur without that as the first line of your
> script..
>
> bkx
>
>
>
> --
> 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]
--
-----------
providing the finest in midget technology
--
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]