Uploading images works for me but not others
View Single Post
02-15-2008, 11:24 PM
Join Date: Dec 2007
Originally Posted by
If you want to get the file extension, assuming that your file extension sits at the end of the file name, you can use this function, instead of limiting the file extension to 3 characters (see .jpeg files, .ko files for example):
$extension = strrchr($file_name, '.');
I have that for my file name to hash up using md5() and then I used that to get the extension. :] But thanks anyway, I might just try it.
VillageIdiot can have my babbies ;d
View Public Profile
Send a private message to Orc
Visit Orc's homepage!
Find More Posts by Orc