Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php current file name

basename(__FILE__, '.php'); 
Comment

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);
?>
Comment

PREVIOUS NEXT
Code Example
Php :: create unique filename php 
Php :: Unresolvable dependency resolving [Parameter #0 
Php :: pasar datetime a string php 
Php :: php error reporting show warnings 
Php :: start server symfony command 
Php :: is number divisible by 3 php 
Php :: laravel db seed specific class 
Php :: php http build query 
Php :: get a cookie in php 
Php :: php delete array item by value 
Php :: comment supprimer balise script hmtl en php regex 
Php :: php compare string 
Php :: convert am pm time to 24 hour in php 
Php :: node dockerfile 
Php :: magento 2 get connection 
Php :: form post self php 
Php :: log laravel 
Php :: php yesterday 
Php :: laravel getbindings 
Php :: php mysql connect 
Php :: date between query in codeigniter 
Php :: check input value is integer or not in php 
Php :: click confirm before submit form php 
Php :: php nested array contains 
Php :: php time how long a function takes 
Php :: Wordpress hook for newly published post 
Php :: in_array in php 
Php :: carbon time ago laravel 
Php :: how to add property to the request object 
Php :: for loop php continue to next item 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =