note 40154 added to function.system

From: Date: Mon, 23 Feb 2004 19:13:28 +0000
Subject: note 40154 added to function.system
Groups: php.notes 
Request: Send a blank email to php-notes+get-65604@lists.php.net to get a copy of this message
When you want to use the system command and, for ex, get the context in a variable and not display de system command don't use $a = system("command"); Use this: <? $a = system("command >> /dev/null"); ?> It's more Linux then PHP here.. ---- Manual Page -- http://www.php.net/manual/en/function.system.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40154 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40154&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40154&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65604) next »