Posts Tagged ‘explode()’

Getting filename and extension in PHP using explode() ,basename() and pathinfo()

Getting the extension from a file name or name of the file from the full path is not a big hassle for the experienced programmer but it might be a annoying task for the beginners of PHP. Now let me find the solution for them using two functions of PHP called explode() and pathinfo(). Full story
Copyright © 2010 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.