A KOD php tak :
<?php $boundary = "-->===_54654747_===<---->>4255==_"; $head = "From: ProPsi@com.pln"; $head = $head . "Reply-To: $emailn"; $head = $head . "X-Mailer: phpn"; $head = $head . "X-Sender: ProPsi@com.pln"; $head = $head . "MIME-version: 1.0n"; $head = $head . "Content-type: multipart/mixed; "; $head = $head . "boundary="$boundary"n"; $head = $head . "Content-transfer-encoding: 7BITn"; $head = $head . "X-attachments: $filename_name;nn"; $mesg = "--" . $boundary . "n"; $mesg = $mesg . "Content-Type: text/plain; charset="us-ascii"nn"; $mesg = $mesg .$imie = "IMIE: $imie" ."n" .$nazwisko = "NAZWISKO: $nazwisko" ."n" .$adres = "ADRES: $adres" ."n" .$telefon = "NR TELEFONU: $telefon" ."n" .$email = "E-MAIL: $email" ."n"; $mesg = $mesg . "--" . $boundary . "n"; $mesg = $mesg . "Content-type: " . $filename_type . "; name="$filename_name";n"; $mesg = $mesg . "Content-Transfer-Encoding: base64n"; $mesg = $mesg . "Content-disposition: attachment; filename= "$filename_name"nn"; $mesg = $mesg . fileopenanddecode($filename) . "n"; $mesg = $mesg . "--" . $boundary . "-- n"; function fileopenanddecode($file) { } return $encoded; } ?>
Prosze o pomoc jak przerobic ten skrypt zeby wsylal np 2 lub 3 i wiecej zalacznikow. Pozdrowka i z gory dzieki papaptki