|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
|
Most Referenced Functions » google_pagerank() » preg_replace() » site_pageranks() » imagecreatefrompng() » htmlentities() » imagepng() » imagestring() » imagedestroy() » preg_match() » imagecolorallocate() » header() » fopen() » session_start() » getimagesize() » strpos() » strstr() » preg_match_all() » ob_start() » nl2br() » array2vars() » ob_flush() » str_replace() » flush() » htmlspecialchars() » setcookie() » urlencode() » ereg() » preg_split() » ereg_replace() » var_dump() Our Sponsors » Weblog Community » Rock Music Community - meet fans » Furniture Stores Allentown Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.
Local search Connecticut furniture stores can be found at FurnitureCatch:
Furniture Stores Norwalk,
Furniture Stores Stamford,
Furniture Stores Greenwich,
Furniture Stores New Canaan,
Furniture Stores Darien
|
PHP Functions
Function: pathinfo (PHP 4 >= 4.0.3, PHP 5) pathinfo -- Returns information about a file pathDescriptionarray pathinfo ( string path [, int options] )pathinfo() returns an associative array containing information about path . The following array elements are returned: dirname , basename and extension . You can specify which elements are returned with optional parameter options . It composes from PATHINFO_DIRNAME , PATHINFO_BASENAME and PATHINFO_EXTENSION . It defaults to return all elements.
Example 1. pathinfo() Example
<?php
$path_parts = pathinfo('/www/htdocs/index.html');
echo $path_parts['dirname'], "\n";
echo $path_parts['basename'], "\n";
echo $path_parts['extension'], "\n";
?>
Would produce: /www/htdocs index.html html Note: For information on retrieving the current path info, read the section on predefined reserved variables . Related Function(s) |