note 60001 added to language.operators.execution

From: Date: Thu, 22 Dec 2005 13:25:42 +0000
Subject: note 60001 added to language.operators.execution
Groups: php.notes 
Request: Send a blank email to php-notes+get-100577@lists.php.net to get a copy of this message
For passing parameter to a executable doesn't need an executable. Also it may create problem specifically for CGI Bin aplicatioin. Have a look at the following code: <?php $parFile="param.txt"; $parImage="mohona.gif"; $output=C:\ms4w\Apache\cgi-bin\owtchart.exe $parFile $parImage; echo "<pre>$output</pre>"; ?> In the above code "owtchart.exe" takes two parameters. One is a text file(param.txt) and another is a name of a GIF file where output will be created. It works fine and doesn't need any BAT file! ---- Manual Page -- http://www.php.net/manual/en/language.operators.execution.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60001 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60001&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60001&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60001&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60001&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60001&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60001&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60001&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60001&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#100577) next »