Bubi Base
Wordpress Themes, Wordpress snippets
Monday, May 27, 2013
Finding Extension of a File in PHP
Simply use pathinfo() function
$ext
=
pathinfo
(
$_FILES
[
'image'
][
'name'
],
PATHINFO_EXTENSION
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment