Welcome Guest, Not a member yet? Register   Sign In
Upload Problem
#1

[eluser]barisv[/eluser]
Hi,

I am basically uploading image by using file uploading class. If the name of image is same with any of uploaded images on the file system, it is renamed such as image.jpg -> image1.jpg. I see that.

But when I am trying to put that value to the db, it takes its old name. For instance if I want to upload a image is named "image.jpg" that is already exists, even if its renamed, when I call $data['client_name'], it returns me "image.jpg" but I want its renamed value.

How can I overcome this issue ?

Thanks in advance,
#2

[eluser]ramm[/eluser]
Code:
$upload_data['file_name'];
After upload returns the file name already changed.
#3

[eluser]barisv[/eluser]
Thank you very much.




Theme © iAndrew 2016 - Forum software by © MyBB