note 86032 added to function.system

From: Date: Tue, 30 Sep 2008 10:04:16 +0000
Subject: note 86032 added to function.system
Groups: php.notes 
Request: Send a blank email to php-notes+get-144898@lists.php.net to get a copy of this message
If you want to use multiple sets of double quotes, there is a nicer workaround than using batch files (.bat). Simply append a useless command in front. system('[useless command] & [desired command]'); The useless command may be like "c:" or "cd". Example: system('c: & "C:\Program Files\..." "parameter 1" "parameter 2"'); or exec('c: & "C:\Program Files\..." "parameter 1" "parameter 2"'); ---- Server IP: 124.217.231.13 Probable Submitter: 218.111.198.66 ---- Manual Page -- http://www.php.net/manual/en/function.system.php Edit -- https://master.php.net/note/edit/86032 Del: integrated -- https://master.php.net/note/delete/86032/integrated Del: useless -- https://master.php.net/note/delete/86032/useless Del: bad code -- https://master.php.net/note/delete/86032/bad+code Del: spam -- https://master.php.net/note/delete/86032/spam Del: non-english -- https://master.php.net/note/delete/86032/non-english Del: in docs -- https://master.php.net/note/delete/86032/in+docs Del: other reasons-- https://master.php.net/note/delete/86032 Reject -- https://master.php.net/note/reject/86032 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144898) next »