如果是 apache, 在httpd.conf 加上
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddType application/x-httpd-php .php4 .php3 .phtml .php
解决方案 »
- 求模拟登录新浪微博登录时验证码问题
- #新手来袭# 求解为什么这段代码提示LOCALHOST连接中断!
- EclipsePHP Studio 2008的一个问题
- 求php 的access操作类
- 问一个很基础很弱的问题!
- PHP SessionTimeOut的问题
- apache不开启gb库的情况要实现验证码怎么办???
- 寻PHP的虚拟主机服务商,有要求
- 当我的域名是不改变的的时候,session注册变量没用了?
- 在读取文本文件时,出现:Notice: Undefined offset: 2 in C:\webs\info\TeleTeach\view.php on line 45
- 谁 知道 http 头部 规范
- 继续问那个发邮件的问题 ……
AddType application/x-httpd-php .phtml
如果你用这样的
AddType application/x-httpd-php .abc
那么以abc为扩展名的文件都可以作为php来用了:)