[eluser]Jackattack[/eluser]
Thank you, it worked perfectly, but sadly it turned out to not be exactly right. What I get is the original filename, but my problem or what I really need is the file name that code igniter gives to the file once it realizes that the filename is already there or used.
It works perfectly if it doesn't match a filename already in the folder, but when it does it saves the file as cat1.jpg but what I get back is the original filename of cat.jpg. Anyway around that?
Does that make sense?
Thanks for the help!