NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP CLI / Cygwin

Jon Baer jonbaer at jonbaer.net
Tue May 20 18:50:24 EDT 2003


That was it ... thanks Hans.

- Jon

----- Original Message ----- 
From: "Hans Zaunere" <zaunere at yahoo.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Tuesday, May 20, 2003 12:30 PM
Subject: Re: [nycphp-talk] PHP CLI / Cygwin


>
> --- Jon Baer <jonbaer at jonbaer.net> wrote:
> > kinda retarded question, but how do you get php to interpret directly on
> > the
> > command line within the script itself?
> >
> > #!/cygdrive/c/php/cli/php -q
> >
> > <?php
> >     // code
> > ?>
>
> Not sure if I understand, but try getting rid of that empty line right
after
> the first hash-bang line.  Other than that, make sure the script itself is
> marked as +x and that it has UNIX line endings.
>
> H
>
> >
> > seems to have no effect ...
> >
> > - jon
> >
> >
> >
> >
> >
> >
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>




More information about the talk mailing list