Hey all!
Was wondering if anybody could help me with this problem. I have managed to implement my image upload feature, offering a user the ability to replace their profile image.
The only problem is that all of the old images still remain on the server and worse still if a user wishes to change back to the image they were using previously then an entirely new file is uploaded with a different name.
The tutorial that I have used to perform the uploads is at:
could anybody help me add to this script to include functionality to remove an image before a new one is uploaded.
Thanks
Was wondering if anybody could help me with this problem. I have managed to implement my image upload feature, offering a user the ability to replace their profile image.
The only problem is that all of the old images still remain on the server and worse still if a user wishes to change back to the image they were using previously then an entirely new file is uploaded with a different name.
The tutorial that I have used to perform the uploads is at:
could anybody help me add to this script to include functionality to remove an image before a new one is uploaded.
Thanks