note 17705 added to function.popen
| From: | petr at dousa dot cz | Date: | Thu, 20 Dec 2001 13:40:18 +0000 |
| Subject: | note 17705 added to function.popen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23360@lists.php.net to get a copy of this message | ||
popen() doesn't return false if the command does not exist:
if (popen("/i/dont/exist","r")) echo "OK";
results in "OK" and no error is issued.
--
http://www.php.net/manual/en/function.popen.php
http://master.php.net/manage/user-notes.php?action=edit+17705
http://master.php.net/manage/user-notes.php?action=delete+17705
http://master.php.net/manage/user-notes.php?action=reject+17705