note 70335 added to function.system
| From: | alpha_bravo7 at hotmail dot com | Date: | Thu, 12 Oct 2006 10:27:33 +0000 |
| Subject: | note 70335 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118440@lists.php.net to get a copy of this message | ||
Hi guys !
I need to show my qmail queue into a web admin page but
when i use the following lines :
echo '<pre>';
system('/var/qmail/bin/qmail-qstat');
echo '</pre>';
It returns me negative values :
messages in queue: -1
messages in queue but not yet preprocessed: -1
But when i connect to my serveur via ssh, the result of the same
"/var/qmail/bin/qmail-qstat" is the right one
messages in queue: 1485
messages in queue but not yet preprocessed: 0
Is someone have a solution please ?
----
Server IP: 194.246.101.61
Probable Submitter: 82.244.158.90
----
Manual Page -- http://www.php.net/manual/en/function.system.php
Edit -- https://master.php.net/note/edit/70335
Del: integrated -- https://master.php.net/note/delete/70335/integrated
Del: useless -- https://master.php.net/note/delete/70335/useless
Del: bad code -- https://master.php.net/note/delete/70335/bad+code
Del: spam -- https://master.php.net/note/delete/70335/spam
Del: non-english -- https://master.php.net/note/delete/70335/non-english
Del: in docs -- https://master.php.net/note/delete/70335/in+docs
Del: other reasons-- https://master.php.net/note/delete/70335
Reject -- https://master.php.net/note/reject/70335
Search -- https://master.php.net/manage/user-notes.php