Answers for "get name of uploaded file php"

PHP
0

get uploaded file name

fake_path=document.getElementById('FileUpload1').value
alert(fake_path.split("\\").pop())
Posted by: Guest on December-18-2019
0

php get filename

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

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

    filePathParts($xmlFile);
?>
Posted by: Guest on December-11-2021

Code answers related to "get name of uploaded file php"

Browse Popular Code Answers by Language