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中处理模拟rewrite 效果的全部内容,更多相关php中处理模拟rewrite内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复