|
 | | |
| Autor | Správa |
ONLINE_SVET
 Užívateľ
 Založený: 24.08.2011 Príspevky: 56 Vek: 16
 | Zaslal: St 12.10.11 17:11 |   |
| kód: | <?php
$to = "moj mail";
$subject = "PREDMET";
$headers = "From: kachelman@kachelman.sk\r\n" .
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
$headers .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
$message = '';
foreach($_POST['vyber'] as $key => $value)
{
$message .= '
<strong>'. ($key + 1) . '. ' . $value . '</strong> / <strong>' . $_POST['velkost'][$key] . '</strong><br>
Prílohy: <strong>' . $_POST['prilohy'][$key] . '</strong><br>
';
}
$message .= '
<hr width="300px" align="left">
Na meno: <strong>' . $_POST['meno'] . ' ' . $_POST['priezvisko'] . '</strong> / ' . $_POST['kontakt'] . ' /<br>
Na adresu: <strong>' . $_POST['adresa'] . '</strong><br>
Poznamky: <strong>' . $_POST['poznamky'] . '</strong><br><br>
<hr width="300px" align="left">
Kontakt do pizzérie: <strong>xxxxxxxxxxxx</strong>';
if(mail("moj mail","$subject","$message","$headers"))
{
|
Príde mi to ako Root User. Prečo ? Je to hostingom asi čo ? Dá sa to dáko obísť ?
Alebo to je tým že je tam neexistujúci mail odosielateľa ? |
| |
      |
 |
|
Nemôžete pridávať nové témy do tohto fóra. Nemôžete odpovedať na témy v tomto fóre. Nemôžete upravovať svoje príspevky v tomto fóre. Nemôžete mazať svoje príspevky v tomto fóre. Nemôžete hlasovať v tomto fóre.
|
| |