Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] e-mail z kodem HTML i PHP
-Pingwinek Tux-
post
Post #1





Goście







Witam,
Jak zrobić żeby $_COOKIE['ror']; wyświetlił swoja zawartość w mailu?, bo teraz traktuje go jak normalny kod html

  1. $treść='
  2. <html>
  3. <body>
  4.  
  5. <?php echo $_COOKIE['ror']; ?>
  6.  
  7. </body>
  8. </html>';
  9.  
  10. $naglowki = "From: administrator@appastudio.plr\nReply-To: administrator@appastudio.plr\nContent-type: text/html; charset=iso-8859-2";
  11.  
  12.  
  13.  mail("blebleble123@gmail.com","123456","$tresc","$naglowki");
Go to the top of the page
+Quote Post

Posty w temacie
- Pingwinek Tux   [php] e-mail z kodem HTML i PHP   2.05.2008, 15:58:08
- - piotrooo89   a jest tam cokolwiek do wyświetlenia?   2.05.2008, 16:00:49
- - erix   http://pl2.php.net/string#language.types.string.pa...   2.05.2008, 17:53:48
- - franki01   Moze chodzi o htmlspecialchars" title="Zobacz w ma...   2.05.2008, 22:52:29
- - zur887   [PHP] pobierz, plaintext <?php $tresc = '...   2.05.2008, 23:54:23
- - Pingwinek Tux   Dzięki, działa!.   5.05.2008, 09:13:34


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 16:01