witam, jestem kompletnie w tym zielony a chcialbym zeby w otrzymywanym mejlu dostawac obraze z logiem, znalazlem generator ktory mi wygenerowal specjalny kod dla mojego obrazka

zobaczcie tutaj: http://angfr.hekko.pl/oj/hm/wygenerowany_kod.txt

jak moge go polaczyc w calosc z kodem ponizej zeby to dzialalo sprawnie questionmark.gif

  1. <?php
  2.  
  3. // Change this to the email address where the message is to be sent
  4. $your_email = "aszestakowski@gmail.com";
  5.  
  6. // This is the return URL after the form has been processed
  7. $thankyou = "message_sent.php";
  8.  
  9. // This is what is displayed in the email subject line
  10. // Change it if you want
  11. $subject = "Dane kontaktowe // www.angielskinauka.pl";
  12.  
  13.  
  14. // You shouldn't need to edit below this line
  15. // ---------------------------------------------
  16. $name = trim(stripslashes($_POST['name']));
  17. $email = trim(stripslashes($_POST['email']));
  18. $year = date("Y");
  19. $month = date("m");
  20. $day = date("d");
  21. $hour = date("h");
  22. $min = date("i");
  23. $tod = date("a");
  24.  
  25. // Timestamp this message
  26. $TimeOfMessage = date('d')."/".date('m')."/".date('y')." o godz. ".date('H:i');
  27.  
  28. // finally, send e-mail
  29. $ip=$_SERVER["REMOTE_ADDR"];
  30. $message = "Wiadomość została wysłana dnia " .$TimeOfMessage."\n";
  31. $message .= "<br />---------------------------------------------------------<br /><br />\n";
  32.  
  33. // send the complete set of variables as well
  34. while (@list($var,$val) = @each($_POST)) {
  35. if (is_array($val)){
  36. $temp = '';
  37. foreach($val as $newval){
  38. $temp .= "$newval ";
  39. }
  40. $message .= "$var: $temp\n";
  41. } else {
  42. $message .= "$var: $val\n";
  43. }
  44. }
  45.  
  46. // send the email
  47. mail($your_email, $subject, $message, "From: $name <$email>\nMIME-Version: 1.0\nContent-type: text/html; charset=UTF-8");
  48.  
  49. // go to return URL
  50. if (isset($thankyou)) {
  51. header("Location: $thankyou");
  52. exit();
  53. }
  54.  
  55. ?>


ten generator znajdziecie tutaj: http://ezinedesigner.com/embed-images-php.html

PROSZE O POMOC sad.gif