note 22246 added to ref.exec
| From: | Curt@php.net | Date: | Wed, 12 Jun 2002 05:34:28 +0000 |
| Subject: | note 22246 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31723@lists.php.net to get a copy of this message | ||
if you use session_write_close() in order to exec in the background, you can use session_start() to
"turn on" the session again:
session_write_close();
exec(mycommand >/dev/null &);
session_start();
--
http://www.php.net/manual/en/ref.exec.php
http://master.php.net/manage/user-notes.php?action=edit+22246
http://master.php.net/manage/user-notes.php?action=delete+22246
http://master.php.net/manage/user-notes.php?action=reject+22246