Jump to content

sunilpandya
 Share

Recommended Posts

All you need to do is open the file and copy the bytes to the database field. In PHP you can use file_get_contents to get the image data. If you're working with uploads, use file_get_contents on the $_FILES['file']['tmp_name'] element.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...