title: Overwrite image in php while uploading
body: <p>I want to know that how  can I overwrite images when they uploaded to server in php. For example I uploaded a photo to a folder as soon as I upload another image it will take place of previous image. Image name is not same it may differ. Thanks</p>