Posts Tagged "file"

Get file name and remove file extension using php

Get a File name from url Using PHP Get the “filename”, or the last part of the string, with the basename function. <?php $url = ‘http://www.example.com/feeds/xyz/index.php?filename=abc’; echo basename($url); // print “index.php”; ?> Remove a File Extention Using PHP To strip…

Like to share it
Read More