Answers for "php basename from path"

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

Browse Popular Code Answers by Language