Re: Running Apache in one machine and php in another
| From: | Jason Wong | Date: | Fri, 06 Feb 2004 06:45:30 +0000 |
| Subject: | Re: Running Apache in one machine and php in another | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176988@lists.php.net to get a copy of this message | ||
On Saturday 07 February 2004 03:35, Mrs. Geeta Thanu wrote:
> This is an requirement in bioinformatics lab where they want to submit a
> huge genome sequence as a input to a program ( say in c) and get the
> result and display.
>
> Now i want this c program in another high end machine because it needs
> lot of computations, which is not possible in sun machine where i
> installed apache+PHP.
>
> Now I want the PHP script, like CGI has to get the genome from the browser
> of a user and send to the machine where C program is running and again get
> the results and show as output.
>
> Please reply whether this is possible.
What you have described is not really what is in your subject.
Basically you want a front-end machine that will accept some input which is
then passed onto another [back-end] machine for processing.
This is fairly easy to accomplish using Apache-PHP on the front-end machine.
PHP's streams support, curl functions and socket functions will allow you to
communicate with the back-end machine.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Zymurgy's Law of Volunteer Labor:
People are always available for work in the past tense.
*/