pathinfo : Path : File Directory PHP Source Code


PHP Source Code » File Directory » Path »

 

pathinfo



<?php
   $pathinfo = pathinfo("./text.txt");
   echo "Dir name: $pathinfo[dirname]<br />n";
   echo "Base name: $pathinfo[basename] <br />n";
   echo "Extension: $pathinfo[extension] <br />n";
?>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» Path