手机
当前位置:查字典教程网 >编程开发 >php教程 >php中处理模拟rewrite 效果
php中处理模拟rewrite 效果
摘要:php中处理模拟rewrite效果

php中处理模拟rewrite 效果

<?php

$Php2Html_FileUrl=$_SERVER["REQUEST_URI"];

$Php2Html_UrlString=str_replace("/","",strrchr($Php2Html_FileUrl,"/"));

?>

<?php$sid=intval(intval($Php2Html_UrlString));//Integertypevariableconversion

if(!intval($sid)){

$sid=intval($_GET['id']);

if(!intval($sid)){

$sid=310;

}

}

?>

【php中处理模拟rewrite 效果】相关文章:

php实现paypal 授权登录

php遍历类中包含的所有元素的方法

php计算整个目录大小的方法

使用Apache的rewrite技术

php 字母大小写转换的方法

php三元运算符知识汇总

php中检查email完整性

php获取twitter最新消息的方法

PHP常用处理静态操作类

php中smarty区域循环的方法

精品推荐
分类导航