Jump to content

Output BLOB Of Data without download?


RobberBaron

Recommended Posts

I want to be able to output a picture from a database in a PHP script. I've managed to do this with a file, so I know the headers and such, but what sort of thing would I use? I already know how to start a MySQL connection, but even so I'm pretty sure you couldn't just echo the field. Can you help please?

Link to comment
Share on other sites

There are some advantages to storing binary data in databases, depending on the application. Anyway, the answer is yes, you can just print it out.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...