Attachments

This addresses also http://www.elkarte.net/index.php?topic=21.0
The error is still not nicely integrated into the page, though it works and that's the important thing for now IMHO. (In other words I want to push it because I'm lazy :stuck_out_tongue_closed_eyes: )