Home  >  Article  >  Backend Development  >  PHP Tutorial.Application Example 13_PHP Tutorial

PHP Tutorial.Application Example 13_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:22:451430browse

Two methods to implement user identity authentication in PHP (2)
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 /php4 /php.exe
If you want to make PHP support more suffixes, no problem. The given configuration file mod_php4.conf already supports three suffixes: php, php3, and php4. If you want to support more suffixes, you can change this file. It is very simple.
4. Test
Test with phpinfo(); ?>. You will see that the value of Server API is apache, not cgi, and there is also information about HTTP Headers Information.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532311.htmlTechArticleTwo methods to implement user identity authentication in PHP (2) AddType application/x-httpd-php4 .php3 AddType application/ x-httpd-php4 .php4 Action application/x-httpd-php4 /php4/php.exe To enable PHP to support...
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