dou4624 2010-11-30 07:01
浏览 155

网页不会解析PHP代码

I'm trying to add some of my own PHP to a nearly-unreadable template file on a forum system. I know it all works perfectly as far as the server config, etc. goes, but PHP simply doesn't parse on this page. JS works fine. Any ideas? It's a simple .html page.

  • 写回答

4条回答 默认 最新

  • doudou8081 2010-11-30 07:05
    关注

    Try adding this to your .htaccess (or creating a new one in the appropriate directory):

    AddType application/x-httpd-php .php .html
    
    评论

报告相同问题?