PHP 几个路径函数
2009-11-21 16:36
561 查看
// dirname() // Returns directory name component of path basename() // Returns filename component of path pathinfo() // Returns information about a file path; // pathinfo() returns an associative array containing information about path . parse_url() // Parse a URL and return its components; // This function parses a URL and returns an associative array // containing any of the various components of the URL that are present. realpath() // Returns canonicalized absolute pathname; // realpath() expands all symbolic links and resolves references to '/./', '/../' and // extra '/' characters in the input path . and return the canonicalized absolute pathname. http_build_query() // Generate URL-encoded query string; // Generates a URL-encoded query string // from the associative (or indexed) array provided. http_build_url() // Build an URL
相关文章推荐
- PHP获取当前路径的几个函数的比较
- 几个php常用路径函数对编码的转换
- php一些用到的路径的一些函数~~
- php中日期处理的几个函数,小结一下
- PHP有关路径的函数和系统变量
- PHP获取和操作配置文件php.ini的几个函数
- PHP把时间转换成几分钟前、几小时前、几天前的几个函数、类分享
- php计算几分钟前、几小时前、几天前的几个函数、类功能实现
- PHP几个函数兼容
- 获取monxin_table.js 路径 Monxin专用(PHP代码函数)
- PHP substr_replace()函数的几个应用例子
- php输出控制函数——ob系列的几个区别
- 学习PHP几个数学计算的内部函数
- 学习PHP几个数学计算的隔膜泵内部函数
- php的几个配置文件函数
- PHP中include函数查找相对路径问题
- php中几个字符串替换函数
- PHP获取当前url路径的函数及服务器变量
- PHP获取当前url路径的函数及服务器变量
- php中几个字符函数小结