I am having some problems with some mod I have added.
I'm using this mod so I could upload non-english files.
http://www.4homepages.de/forum/index.php?topic=17885and it do works, I can put under "name" & "comment" non-english text. and the upload and all work perfect.
But here my problems comes:
I put this mod, that take the filename and put it as the image name - so you will not had to insert a image name.
http://www.4homepages.de/forum/index.php?topic=5750.0And then when I'm uploading files in English names - it do works and the image name become the file name.
But when I'm uploading non-english files, I get this message:
Error uploading image file:
.jpg: Invalid file type (, image/jpeg)
I think it caused by this line on the "Filename = Image name" mod:
if (!$image_name)
{
$image_name = $HTTP_POST_VARS['image_name'] = get_file_name($new_name);
}
Because in the error message it says
.jpg: Invalid file type
So he cant read my language letters, but in the first mod it do works if I insert the name.
Anyway to fix it? For 10$
MSN: TheRedEyes@gmail.com
ICQ: 1326582
Thanks Regrets
TheRedEye