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解决 无用评论 打赏 举报