Re: scripting with php
| From: | Christopher Fulton | Date: | Wed, 15 Dec 2004 00:07:41 +0000 |
| Subject: | Re: scripting with php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204366@lists.php.net to get a copy of this message | ||
one more note...you may look at the manual under....
http://us3.php.net/features.commandline
-Chris
On Tue, 14 Dec 2004 16:04:15 -0800, Christopher Fulton
<christopher.fulton@gmail.com> wrote:
> Not sure if this is what you want, but i know that you can call php
> from a command line by using.....
>
> php code_name.php
>
> that will print out the http headers, so to supress the headers you can do....
>
> php -q code_name.php
>
> Hope this helps,
> Chris
>
>
> On Tue, 14 Dec 2004 21:38:18 +0000, Bruno Santos <brvds@netvisao.pt> wrote:
> > Hello all.
> >
> > i'm working with php for about 3 years and i must say: i cant get tired
> > of it !! :-)
> >
> > since my first page, ive used php as a server side language, embebed in
> > html pages. now, i need to develop a small script to run as stand alone.
> > how can i do it ?
> >
> > just like bourn shell, ive used #!/usr/bin/php -q, but it apears is not
> > working ...
> >
> > can someone tell me how to i use php stand alone ?
> > chears !!!
> >
> > Bruno Santos
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>