note 35402 deleted from ref.exec by tomsommer

From: Date: Sun, 31 Oct 2004 12:59:47 +0000
Subject: note 35402 deleted from ref.exec by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79397@lists.php.net to get a copy of this message
Note Submitter: sam at freepeers dot com ---- Windows 2000 The only way I found to get a command followed by a filename to execute was with k dot mitz's method: $cmd = "\"executable\" args file-name"; Example: $cmd = "\"C:\program files\winzip\wzunzip.exe\" -c C:\\temp\\uploaded_file.zip"; exec($cmd,$output,$rv); The point to note is that this will not work: $output = command file-name; So for this case, use exec as shown.

« previous php.notes (#79397) next »