Email Attachments

[QUOTE=mslatter;39523]
Thanks again SO much! I owe you…[/QUOTE]

We all owe him a lot dude, kafecadm is already listed in the live savers heroes list, he is just too modest to admit it :smiley:

I just wanna emphasize again, why would you use the blob thing and store your data in the database… use file name is much easier and better than saving in the database, later on you will have heavy database for nothing… just my 2 cents :slight_smile:

Cheers

kafecadm is indeed a hero - I PM’d him for his paypal right away and he didn’t even reply - that’s how modest he is =)

Yes thanks MikeDE, you’re absolutely right. I tried resorting to saving it in the database because I’d tried for weeks (literally) to get the bloody file path right for saving the pictures in another directory and couldn’t get it. After your added help, it made me realize that maybe it wasn’t the path at all, but something else I was doing wrong…which is why I posted all the details per kafecadm’s request and he saw the issue right away.

All this to say, when I realized what the problem was, I switched back to trying to get the images saved to a directory (verse in the DB)…made the image field ‘text’ (although kafecadm suggested varchar afterwards) and it works exactly how you want it to…and ultimately how I wanted it to work too, so we’re all good! =) I realize I could probably go change the field to ‘varchar’ but after all the work already, I don’t feel like redeploying it again since it’s working.

Thanks again to both of you guys. Lesson learnt on this side, I assure you. They say ignorance is bliss…but in this case, I almost went mad because of it! LOL

Cheers! TFIF

Good luck Mslatter. One good thing here is that you learned a lesson and will be quite equipped if a similar issue gets encountered in the future.