Perlfect Solutions

[Perlfect-search] Including PHP code in template

Stephan Engelke
Sun, 13 Aug 2000 19:00:20 +0200 (MET DST)
Hi everyone,

I am redesigning a website which uses Perlfect search to utilize some
PHP code for asier maintenance.

Unfortunately, when displaying Perfect search's result the PHP code
included in the template is not executed, but rather printed
"verbatim" into  the resulting file.

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

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
file.  This is not an option I really like.  Does anyone have a
different idea?  Or possibly a pointer to some documentation I could


Regards -- Stephan
Stephan Engelke                                      
Version 3.1
GM/O d+(-) s: a- C++ USHL+++(++++) P+++>++++ L++ E++ W+++ N+ o++ K- w O-
M-- V- PS+ PE+ Y+ PGP t++ 5++ X- R- tv- b++(+++) DI+ D G e+++>++++ h-- r y?