[Mapserver-users] php code inside a CGI mapserver application

colombo.l colombo.l at email.it
Mon Jul 21 10:58:44 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 , 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 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:
Hai bisogno di riorganizzare la tua agenda? Risolvi il problema con un nuovissimo palmare!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=762&d=21-7




More information about the MapServer-users mailing list