Uploading images works for me but not others
View Single Post
02-15-2008, 07:34 PM
Join Date: Dec 2007
Location: Bucharest, Romania
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 optimistic thoughts, even though sometimes (if not always) life's a bitch.
View Public Profile
Send a private message to xenon
Visit xenon's homepage!
Find More Posts by xenon