Change image filetype on upload?


Posted on 16th Feb 2014 07:03 pm by admin

Hi,
I've got a form which uploads an image to the server.
Is it possible to change the image type during the upload?

I want the user to be able to upload images that are .gif .jpg or .png, but when uploaded, if they are .gif or .jpg, have been changed to .png.

Is this possible?

No comments posted yet

Your Answer:

Login to answer
282 Like 38 Dislike
Previous forums Next forums
Other forums

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

Delete HTML file after loading
I have limited experience with php and its been a year or two since I've last used it. I have a sma

Creating a db with a query
Hello everyone.
I'm having troubles creating a db with a query.
I'm reading a book called PHP

MYSQL gen help
This is my Mysql gen. can anyone tell me why this echos

MID(networkset.networkid, 3, 3) AS &q

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

Need help in log in and log out?
hi there all of u. i have recently created a site for someone. i have placed log in and log out and

Add weeks in a query?
I have a SQL that summarizes the quantity per week. The weeks that has no value does not exist in th

Can you help please? Php file
I have to write this php file to allow users to register their nicknames on nickserv

For an I

Delete records not in top 15
Hi,

I'm creating a hall of fame page in my game and the page will only display the top 15 sco

Scene graph using Direct3D?
There are several C++ scene graph based packages available for OpenGl, like say OSG,

http://w

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash