Hi!
I installed v1.9 on my local XAMPP server to test it and at first the php wasnt executed.
After changing the php tags form <? ... ?> to <?php ... ?> i can use the script and it works very well for jpg, png and gif extensions but when uploading bmp files the files are uploaded without an extension and links wont work anymore. (Example: i upload "Example.bmp" and the uploaded file is named "Example")
After enabling the debug mode i get the following errors when uploading bmp files:
I cant find a solution for this, any help on this?
thanks in advance
iDoom
I installed v1.9 on my local XAMPP server to test it and at first the php wasnt executed.
After changing the php tags form <? ... ?> to <?php ... ?> i can use the script and it works very well for jpg, png and gif extensions but when uploading bmp files the files are uploaded without an extension and links wont work anymore. (Example: i upload "Example.bmp" and the uploaded file is named "Example")
After enabling the debug mode i get the following errors when uploading bmp files:
Warning: imagesx() expects parameter 1 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 497
Warning: imagesy() expects parameter 1 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 498
Warning: imagecopyresampled() expects parameter 2 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 515
Warning: imagedestroy() expects parameter 1 to be resource, null given in C:\xampplite\htdocs\idp\engine.php on line 523
I cant find a solution for this, any help on this?
thanks in advance
iDoom