# matt.baluyos.lists@xxxxxxxxx / 2007-01-08 19:06:16 +1100: > Hello everyone, > > I store files on the server (.pdf, .doc, .txt, etc.) which are > referenced by entries in a database. The filenames are only stored in > the database and are not BLOBs. > > What I'd like to do is to be able to show a web form wherein a user > can choose stored documents on the server and send it to an email. > > What's the easiest way to go about this? Specifically, what's the > easiest way to read a file from the server and send it as an email > attachment. uuencode yourfile | mail -s "my subject" recipient@xxxxxxxxxxx -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php