Hello. I am trying to use PHP to upload an image to the SQL database for display in users profiles. However, Dreamhost informs me the fopen/fread options are disabled here and that I must use cURL instead. The problem is, I’ve never had experience with cURL before as this is the first host I’ve worked with that had my normal functions disabled.
So, I’m looking for help and hoping someone can provide some insight. I’ve found tons of cURL tutorials online, however none for what I need.
How do you store images in an SQL database using cURL instead of the normal $_POST/fread/fopen features that I’m used to?
Any help would greatly be appreciated.