morpheuz Posted June 17, 2006 Share Posted June 17, 2006 Maybe you guys can help me with this, I wrote up a backup database php snippet that I want to merge with a mailing script, but I'm having a hard time tracking down some good docs on what the mime stuff looks like without getting a class involved (I really don't like OOP, and since I'm still kinda new to programming in general, I can't appreciate its benefits). I don't need a mountain of help, just a peek at what the mime stuff is supposed to look like to attach the file.A quick question, I've read a lot about how it's not a good idea storing backups in root on the server. What is "root"? My guess is that it's the public_html/www dir, but even so I want to be sure so I figured I'd ask.Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/12234-email-attachment-using-mail/ Share on other sites More sharing options...
redarrow Posted June 17, 2006 Share Posted June 17, 2006 [a href=\"http://codewalkers.com/seecode/98.html\" target=\"_blank\"]http://codewalkers.com/seecode/98.html[/a]try this ok. Quote Link to comment https://forums.phpfreaks.com/topic/12234-email-attachment-using-mail/#findComment-46644 Share on other sites More sharing options...
Fyorl Posted June 17, 2006 Share Posted June 17, 2006 root is basically what windows users would call an 'administrator'. It's not a good idea to save backups as root as other users cannot access them because of the file permissions. Quote Link to comment https://forums.phpfreaks.com/topic/12234-email-attachment-using-mail/#findComment-46834 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.