![]() |
Upload Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html) +--- Thread: Upload Problem (/thread-39187.html) |
Upload Problem - El Forum - 03-03-2011 [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, Upload Problem - El Forum - 03-03-2011 [eluser]ramm[/eluser] Code: $upload_data['file_name']; Upload Problem - El Forum - 03-04-2011 [eluser]barisv[/eluser] Thank you very much. |