Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get filename

<?php
    $xmlFile = pathinfo('/usr/admin/config/test.xml');

    function filePathParts($arg1) {
        echo $arg1['dirname'], "
";
        echo $arg1['basename'], "
";
        echo $arg1['extension'], "
";
        echo $arg1['filename'], "
";
    }

    filePathParts($xmlFile);
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #filename
ADD COMMENT
Topic
Name
5+5 =