Home >Backend Development >PHP Tutorial >PHP controls iis 404 error page_PHP tutorial

PHP controls iis 404 error page_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:06:01846browse

PHP controls the iis 404 error page. This document mainly talks about the control method used when using PHP to manage the web site time and set the 404 cannot be found page.

PHP controls the iis 404 error page. This document mainly talks about the control method used to manage the web site time with PHP and set the 404 cannot be found page.

# PHP control site program
#
# Writer: Han Xiangzi
#
# Email: hanxiangzi@gmail.com
#
# MSN: hanxiangzi@gmail.com
#
# QQ: 220670 /css.css" rel="stylesheet" type="text/css" />


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

iF($Submit){

$Site->HttpErrors = "404,*,Url,".$httperr;

$Site ->SetInfo();

}


?>



Return to host list




< /tr>



Return to host management
 


Set 404 error

Format: /path/file.htm, for example: /404.htm





http://www.bkjia.com/PHPjc/445063.html

www.bkjia.com

http: //www.bkjia.com/PHPjc/445063.htmlTechArticlephp controls iis 404 error page. This document mainly talks about using php to manage web site time. Setting 404 cannot be found The control method used for the page. PHP controls iis 404 error page, this article...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn