Answers for "get file name from path in php without basename function"

PHP
0

php basename from path

<?php
  $path = "/testweb/home.php";

  $filename = basename($path);
  $filename_without_php_extension = basename($path,".php");
Posted by: Guest on April-16-2021

Code answers related to "get file name from path in php without basename function"

Browse Popular Code Answers by Language