Re: Calling an executable for processing some data sent from PHP
| From: | Daniel Brown | Date: | Fri, 15 Jun 2007 20:11:49 +0000 |
| Subject: | Re: Calling an executable for processing some data sent from PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257115@lists.php.net to get a copy of this message | ||
On 6/15/07, Dan <frozendice@gmail.com> wrote:
Ok, so I have a PHP script, and I also have a program written in Pascal, it's compiled in the native executable for whatever OS the server is running. I want to have the user input info and then send that info to the Pascal program to call a function and send the info as parameters. Is there any sort of server side call I can do to do this? Or is my only option making some sort of connection such as SOAP between PHP and the Program? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpRTFM for exec(), system(), passthru(), et cetera. <? exec('pascal-file '.$_POST['user_command'],$ret); $ret == 1 ? 'Error detected' ? ''; ?> -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107