php中处理模拟rewrite 效果
<?php
$Php2Html_FileUrl = $_SERVER["REQUEST_URI"];
$Php2Html_UrlString = str_replace("/", "", strrchr($Php2Html_FileUrl, "/"));
?>
<?php $sid=intval(intval($Php2Html_UrlString));//Integer type variable conversion
if (!intval($sid)){
$sid=intval($_GET['id']);
if(!intval($sid)){
$sid=310;
}
}
?>
<?php
$Php2Html_FileUrl = $_SERVER["REQUEST_URI"];
$Php2Html_UrlString = str_replace("/", "", strrchr($Php2Html_FileUrl, "/"));
?>
<?php $sid=intval(intval($Php2Html_UrlString));//Integer type variable conversion
if (!intval($sid)){
$sid=intval($_GET['id']);
if(!intval($sid)){
$sid=310;
}
}
?>
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“php中处理模拟rewrite 效果”评论...