Re: scripting with php
| From: | Christopher Fulton | Date: | Wed, 15 Dec 2004 00:04:15 +0000 |
| Subject: | Re: scripting with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204365@lists.php.net to get a copy of this message | ||
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
>
>