The best solution to this, from what I can tell, is to have one of those fields (ie: attach_file_name) point to a given file in a designated directory. While it is theoretically possible, saving the bits of the image into the database itself is an awful idea. This ties yours hands in the future when you need to make corrections to the data (ie: renewed drivers license).
Let me know if I'm way off track here, or if this seems like something you are looking for.
Coma
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Offline 2,413 posts
since Dec 2004