Perlfect Solutions
 

[Perlfect-search] Including PHP code in template

Daniel Naber dnaber@mini.gt.owl.de
Sun, 13 Aug 2000 19:40:06 +0200
On Son, 13 Aug 2000, you wrote:

> What do I have to do to force this code to be parsed?

That's not possible unless you use some uncommon Apache module(?).

> The only thing I could come up with is to write the results to a file
> with the correct extension (php, php3, phtml) and the redirect to this

In PHP, you can not only open files, but also URLs. So open the search URL 
and print it, like:
open("http://server/cgi-bin/search.pl?q=blah");

Regards
 Daniel