Hi,

> I am newbie with this subject and really need to know it...
> I need a good and clear samples of 'executing background process from
> php<http://www.webdeveloper.com/forum/showthread.php?t=90061>'
>
> where can I find it?

The manual I would imagine. To execute a background task you need to
redirect all output streams, like this (on Unix - on Windows I have no
idea I'm afraid):

<?php
  exec('sleep 5 >/dev/null 2>&1 &');
?>


-- 
Richard Heyes
HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May)
PHP mail: RMail (www.phpguru.org/rmail)
PHP datagrid: RGrid (www.phpguru.org/rgrid)
PHP Template: RTemplate (www.phpguru.org/rtemplate)
PHP SMTP: http://www.phpguru.org/smtp

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

Reply via email to