> Can somebody give me any workable example how to run some script written in
> PHP in Unix console.

#!/usr/local/bin/php -q
<?php
echo "Example script";
?>

> I wan't to write some server aplication. So it has to be run in the
> backgroud.

Have a look at the process control functions:
http://php.net/pcntl


-- 
Greg Donald
http://destiney.com/



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

Reply via email to