Home > php教程 > php手册 > php中处理模拟rewrite 效果

php中处理模拟rewrite 效果

WBOY
Release: 2016-06-13 12:34:58
Original
828 people have browsed it

php中处理模拟rewrite 效果
$Php2Html_FileUrl = $_SERVER["REQUEST_URI"];
$Php2Html_UrlString = str_replace("/", "", strrchr($Php2Html_FileUrl, "/"));
?>
    if (!intval($sid)){
        $sid=intval($_GET['id']);
        if(!intval($sid)){
            $sid=310;
            }
        }
    ?> 

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template