Upload Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Upload Problem (/showthread.php?tid=39187) |
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. |