Mega Code Archive

 
Categories / Php / File Directory
 

Basename php

<?php    $path = "/home/www/data/users.txt";    $filename = basename($path);         print $filename; ?>