Re: scripting with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux