Re: passing args to c program
| From: | David Otton | Date: | Sun, 18 May 2003 16:15:32 +0000 |
| Subject: | Re: passing args to c program | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148093@lists.php.net to get a copy of this message | ||
On 18 May 2003 11:23:50 -0400, you wrote:
>which functions should i be looking at for passing values to a c++
>program and displaying or getting the output back?
system(), exec(), passthru(), etc. all execute a command line in one way or
another.
http://www.php.net/manual/en/function.system.php
Be careful when passing data from a browser to a command line - it can open
up some nasty security holes. Read
http://www.php.net/manual/en/function.escapeshellcmd.php