Posted By

jatubio on 01/28/11


Tagged


Versions (?)

Get File Extension From Path


 / Published in: PHP
 

  1. function sdFileExtension($path)
  2. {
  3. return substr(strrchr($path,'.'),1);
  4. }

Report this snippet  

You need to login to post a comment.