dannybrazil Posted September 15, 2009 Share Posted September 15, 2009 Hello I have a file name abcde.jpg how can i get JUST the file name with out the extention ".jpg" ? thanks Link to comment https://forums.phpfreaks.com/topic/174331-solved-quick-question/ Share on other sites More sharing options...
MadTechie Posted September 15, 2009 Share Posted September 15, 2009 theirs a few ways, here's a simple one $x = pathinfo('abcde.jpg'); echo $x['filename']; //echo $x['extension']; //if you wanted the jpg abcde Link to comment https://forums.phpfreaks.com/topic/174331-solved-quick-question/#findComment-918960 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.