Posted By

jatubio on 01/28/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

satie83


Remove File Extension from Path


 / Published in: PHP
 

  1. function sdRemoveFileExtension($path)
  2. {
  3. return substr($path,0,strrpos($path,'.'));
  4. }

Report this snippet  

You need to login to post a comment.