Tech Info

Monday, July 26, 2010

Get extension of filename in php

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

echo $path_info['extension'];
Posted by Surya Narayana Murthy at 7:15 AM
Labels: file-extenstion-in-php, file-extenstion-php

No comments:

Post a Comment

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

Web Design

Surya Narayana Murthy
View my complete profile

Blog Archive

  • ►  2011 (18)
    • ►  February (6)
    • ►  January (12)
  • ▼  2010 (23)
    • ►  October (11)
    • ►  September (1)
    • ▼  July (8)
      • days difference in php
      • Get extension of filename in php
      • forgot login info php
      • php registration form script
      • Php Login Form Example
      • 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)
Picture Window theme. Powered by Blogger.