Hi
I want to create a code so that the user can upload an image. The code then resizes it and then stores it as a blob in my database.
I have done everything, but need to know which variable (in the link) to store into the blob in my mysql database. I don't want imagejpeg() to create the pictures in a /images/ folder, like this code does, I want the data in a variable and then store it as a blob.
How do i assign a variable the "raw" data (like opening an image in notepad.exe) from the created and resized images?