Pass File via mail() PHP
问题 I have a Problem, I would like to send a File (Photoshop, .gif etc.) File via Email with PHP. I POST the Data from the HTML Document to the following PHP File. The Problem: I receive the Email but the File is corrupt. Any Idea why this doesn´t work?? $to = 'admin@example.com'; $subject = 'Order'; $name = strip_tags($_POST['name']); $email = strip_tags($_POST['email']); $plz = strip_tags($_POST['plz']); $city = strip_tags($_POST['city']); $street = strip_tags($_POST['street']); $nr = strip