Heim  >  Artikel  >  Backend-Entwicklung  >  php 控制iis 404出错页面_PHP教程

php 控制iis 404出错页面_PHP教程

WBOY
WBOYOriginal
2016-07-20 11:06:01789Durchsuche

php 控制iis 404出错页面,本文档主要是讲一下用php管理web站点时间在设置404无法找到的页面时所用的控制方法哦。

php 控制iis 404出错页面,本文档主要是讲一下用php管理web站点时间在设置404无法找到的页面时所用的控制方法哦。


 # PHP控制站点程序
 #
 # 编写人:韩湘子
 #
 # 邮箱:hanxiangzi@gmail.com
 #
 # MSN:hanxiangzi@gmail.com
 #
 # QQ:220670        
 #
 # 欢迎大家互相联系讨论
?> 


 $Site = New Com("IIS://Localhost/w3svc/".$ServerID);

 iF($Submit){
  $Site->HttpErrors = "404,*,Url,".$httperr;
  $Site->SetInfo();
 }

?>


 
   
 
返回主机列表


 
   
 
 
   
 
返回主机管理
 


设置404错误

格式:/路径/文件.htm,例如:/404.htm

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/445063.htmlTechArticlephp 控制iis 404出错页面,本文档主要是讲一下用php管理web站点时间在设置404无法找到的页面时所用的控制方法哦。 php 控制iis 404出错页面,本文...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Vorheriger Artikel:php ajax 分页四_PHP教程Nächster Artikel:php 给图片加水印_PHP教程