Devam Ediyor

PHP Image Upload Script Needs Modifying

Hi guys, I have an image upload script written in PHP that I would like modifying. Heres a quick description of what the PHP script does:

Resizes images (in proportion)

Transfers image via FTP

Creates a random and unique filename for images

Stores filename in MySQL

It works pretty well however it does have a main problem that I'd like fixing, the problem is this:

When a gif file is uploaded, the image extension is .gif however the file type when viewing the gif image info says that the image is a JPEG. This is a concern and the main problem id like fixing.

when a png file is uploaded, the same problem occurs as above.

When a bmp file is uploaded, I get an error on upload and the image appears black on the website... again the bmp image has the same problem as the above gif and png problem, it has the .bmp file extension but says the file type is a JPEG in the image info properties.

If anyone can help me with these problems, that would be great and also, im open to other suggestions if anything else seems wrong with the script or if they know of better ways of doing things :) I can also point out what I think is causing the errors in the script, I just dont know how to fix it! :) Thankyou.

Beceriler: MySQL, PHP

Daha fazlasını görün: php mysql image bmp file upload, how to fix anything website, php image info upload script, script modifying mysql, image upload image description mysql, image upload script php, image upload script, upload im, php extension, php error fixing, modifying, image upload, image type, bmp, better properties, php script open file, needs written, upload gif, upload extension, mysql pretty, ftp image, image open, upload mysql, png php, php errors

İşveren Hakkında:
( 20 değerlendirme ) Darlington, United Kingdom

Proje NO: #747121

Seçilen:

akhd

Hi, please see PMB for details

1 gün içinde 30$ USD
(23 Değerlendirme)
4.9

5 freelancers are bidding on average $64 for this job

NickolaS

Hi, please, check your PM

in 0 gün içinde30$ USD
(329 Değerlendirme)
7.5
GFsoul

hello sir i have experience in doing that kind of scripting.

in 3 gün içinde30$ USD
(96 Değerlendirme)
6.1
quintin671

Please check PMB

in 0 gün içinde30$ USD
(10 Değerlendirme)
4.4
JaguarXJS

Contact me,i'll see what i can do

in 5 gün içinde200$ USD
(0 Değerlendirme)
0.0