Technical Information

Sunday, July 25, 2010

Get extension of filename in php

$path_info = pathinfo('lib.inc.php');

echo $path_info['extension'];
Posted by Surya Narayana Murthy at 6:45 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: file-extenstion-in-php, file-extenstion-php

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2013 (2)
    • ►  March (2)
  • ►  2012 (2)
    • ►  December (1)
    • ►  April (1)
  • ►  2011 (34)
    • ►  August (4)
    • ►  April (11)
    • ►  February (6)
    • ►  January (13)
  • ▼  2010 (17)
    • ►  October (9)
    • ▼  July (5)
      • days difference in php
      • Get extension of filename in php
      • Validate Image Using Javascript
      • create dynamic images in php
      • create dynamic images using php
    • ►  June (2)
    • ►  January (1)
  • ►  2009 (5)
    • ►  December (1)
    • ►  November (3)
    • ►  October (1)
Ethereal theme. Theme images by sndr. Powered by Blogger.