摘要: pathinfo <?php $test = pathinfo("http://localhost/index.php"); print_r($test); ?> 结果如下 Array ( [dirname] => http://localhost //url的路径 [basename] => in 阅读全文
posted @ 2016-03-04 14:55 沉默的土豆 阅读(247) 评论(0) 推荐(0) 编辑