Welcome Guest, Not a member yet? Register   Sign In
Best practice.
#4

[eluser]RobertB.[/eluser]
Cool!
What I was doing, I was making codeigniter name the file something like _image.jpg in my upload folder then get the clients id and rename that file to logo_1(id).jpg, this way I don't have to store the name in the database I just ref the file 'logo_'.$row->id and that's it. Also the file is not going to upload until it pass all the form validations.


Messages In This Thread
Best practice. - by El Forum - 04-20-2010, 09:59 PM
Best practice. - by El Forum - 04-21-2010, 12:59 AM
Best practice. - by El Forum - 04-21-2010, 01:12 AM
Best practice. - by El Forum - 04-27-2010, 08:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB