Re: Executing a CGI inside a PHP page (Again?)
| From: | Sylwester Zarębski | Date: | Thu, 03 Aug 2000 09:02:04 +0000 |
| Subject: | Re: Executing a CGI inside a PHP page (Again?) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9891@lists.php.net to get a copy of this message | ||
Andrés Sulleiro wrote:
>
> Hi,
>
> I am new to the list and maybe this has been discussed to death, if so, I
> apologize for bringing it up. This is the deal:
>
> I have a meta search CGI script that queries several search engines and
> returns formated results. Since I have a template based site, I wanted to
> call the CGI from within the PHP page (wich creates most of the site's
> necesary personalization).
>
> I have succesfully included the script in my PHP page, but my problem comes
> when I execute the CGI. A typical CGI form would pass on the arguments
> directly to the CGI, but now I would have to submit the search form to the
> PHP and then pass the arguments to the CGI and execute it and return the
> results. Here is where the problem lies. when I do a getenv(QUERY_STRING)
> and pass it on the CGI it gives me a blank page, and no errors.
Maybe virtual() ??
http://www.php.net/manual/function.virtual.php
--
pozdrawiam..
## ## | Sylwester Zarębski - ISP Group |
#### ## | e-mail: sylwek@isp.net.pl |
## ## ## | ICQ uin: #45780888 |
## #### ## | Administrator ISP.NET.PL |