源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

php中处理模拟rewrite 效果

  • 时间:2022-08-31 04:40 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:php中处理模拟rewrite 效果
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;             }         }     ?> 
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部