Welcome Guest, Not a member yet? Register   Sign In
Setter and Getter
#1

[eluser]Unknown[/eluser]
Hello I have an AJAX upload, and I`m calling the upload method more times. There is a problem because when I change the image, it uploads another, and I should delete it. I`m tryed to make a public variabile called name to keep the name, but it didn't work. So my ask is how can i solve this problem
#2

[eluser]LuckyFella73[/eluser]
I would save the filename in a database. When uploading a new one
check for the existing filename in db and delete that before uploading
the new one and update the filename in db.




Theme © iAndrew 2016 - Forum software by © MyBB