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 <[EMAIL PROTECTED]> 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

Reply via email to