Here's a useful function to strip the extension off of a filename.
if($ext !== false) { $name = substr($name, 0, -strlen($ext)); } return $name;
Here's a useful function to strip the extension off of a filename.
if($ext !== false) { $name = substr($name, 0, -strlen($ext)); } return $name;
Start the ball rolling by posting a comment on this article!
You must be logged in to post a comment.
Copyright Tutorius. All Rights Reserved.