Welcome Guest, Not a member yet? Register   Sign In
upload photo to mysql?

ok. I have searched and searched... no results.

I am looking for a CI method to allow a user to upload a photo and my controller / model would then store this photo as a blob into a mysql database.

I wouldn't think this would be so difficult but nothing I have tried is working as of yet.

Could you point me in a good direction to learn?
I would appreciate your help.

I would rather upload and store the file into the file system and just store the name into db, rather than storing it into db.

[eluser]Josh Holloway[/eluser]
As above, store the url in a db and the file in an upload directory on your server.

Theme © iAndrew 2016 - Forum software by © MyBB