php中处理模拟rewrite 效果
<?php 
$Php2Html_FileUrl = $_SERVER["REQUEST_URI"]; 
$Php2Html_UrlString = str_replace("https://www.jb51.net/", "", strrchr($Php2Html_FileUrl, "https://www.jb51.net/")); 
?> 
<?php $sid=intval(intval($Php2Html_UrlString));//Integer type variable conversion 
    if (!intval($sid)){ 
        $sid=intval($_GET['id']); 
        if(!intval($sid)){ 
            $sid=310; 
            } 
        } 
    ?> 
