Simple PHP form: Attachment to email (code golf)
Just for fun I thought I’d knock it up. It ended up being trickier than I thought because I went in not fully understanding how the boundary part works, eventually I worked out that the starting and ending ‘–‘ were significant and off it went. <?php if(isset($_POST[‘submit’])) { //The form has been submitted, prep a … Read more