Changeset 288 for quests/user.php


Ignore:
Timestamp:
Jan 30, 2008, 9:40:23 PM (17 years ago)
Author:
maron
Message:

oprava emailu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/user.php

    r287 r288  
    88
    99
    10   if (array_key_exists('text', $_POST) and Licence(1)) {
     10  if (array_key_exists('text', $_POST) and Licence(2)) {
    1111    $text = $_POST['text'];
    1212    $email = $_POST['email'];
     
    1616    echo 'text: <b>'.$text.'</b><br />';
    1717   
    18     if(@mail($email, $subject, $text)){
     18    if(@mail($email, $subject, $text, "From: maron2@centrum.cz\nReply-To: maron2@centrum.cz\nX-Mailer: PHP/")){
    1919    echo 'Zpráva byla odeslána.<br /><br />';
    2020      }
Note: See TracChangeset for help on using the changeset viewer.