Home > Backend Development > PHP Tutorial > 晕了。为什么这个RewriteRule不对呀。解决方法

晕了。为什么这个RewriteRule不对呀。解决方法

WBOY
Release: 2016-06-13 13:41:41
Original
968 people have browsed it

晕了。为什么这个RewriteRule不对呀。

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->^([a-zA-Z\-]+)-(exam)$ string-exam.php?name=$1
Copy after login







------解决方案--------------------
PHP code

RewriteRule ^([a-zA-Z\-]+)-exam$  $1-exam.php <div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template