RE: [PHP] how to call user function
| From: | Joao Prado Maia | Date: | Tue, 29 Aug 2000 00:47:09 +0000 |
| Subject: | RE: [PHP] how to call user function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14032@lists.php.net to get a copy of this message | ||
On Mon, 28 Aug 2000, Sonia Tsui wrote:
> What I mean is that I want to call a user-defined C function. Say I want to
> know something about the client. the client side have a C function which
> does the query. But then how do I invoke this function in PHP script.
>
> Or let's say when user click something on the broser page, my httpd server
> script will actually call a API function on the client side to execute the
You mean on the _server_ side, right ? If all you want is run an external
script (shell script or whatever), just do exec().
http://www.php.net/manual/function.exec.php
Regards,
Joao
--
Joao Prado Maia
Web Developer
Kefta.com, Inc