Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php basename from path

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

  $filename = basename($path);
  $filename_without_php_extension = basename($path,".php");
 
PREVIOUS NEXT
Tagged: #php #basename #path
ADD COMMENT
Topic
Name
1+8 =