[Mapserver-users] how to put php code inside a CGI template

colombo.l colombo.l at email.it
Tue Jul 22 01:00:55 PDT 2003


hello,

i did a CGI-Mapserver application following some tutorials on the site, all work great, I have some problems when I put php code inside my template file.
I use apache 2.0.40, php 4.3 (working as a cgi) and mapserver 3.6.

If I define my template.php as my template (inside mapfile) I get some errors (Malformed URL). So I added this line to http.conf:

AddType application/x-httpd-php .html

Now I can put php code inside html pages, but it didn't works with mapserver !!

I can't get the php-code to be compiled, mapserver process the page but apache+php didn't.

What can I do?
I really need help.

thank's to all

Luca Colombo




--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Samsonite ti presenta la nuova F'Lite Lite. E una sorpresa!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1756&d=22-7




More information about the MapServer-users mailing list