On Fri, 2004-02-06 at 14:55, Mrs. Geeta Thanu wrote:
>  I feel the PHP script and the C program should be in one machine
> and apache in another.
> 
> When a user click the link the php script should upload a form get the
> input and show the result.
> 
> So apache should support running PHP in another machine.Is it possible.

The answer you are looking for is no.

The solution you are looking for is to have an interface from the
application on the powerful system doing these calculations to the web
server running php.  This could be as complicated as an extension to the
application doing all this processing, or as simple as an nfs share with
some flat files on it.

If you are going to put php on the system doing all this processing, why
not put apache as well?  If it's a security issue you could use squid as
a proxy or even have a php script on a public web server access the php
running on apache off the secondary server as your integration.  You
could use ssh to access a cli php script on the secondary server through
a php/cgi/etc. "gateway" on your public web server as well.

Good luck,
Adam

-- 
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to