select name="adresat" size="1">
Ponadto pola OD, TEMAT, TRESC
<?php /****************************************************************************** * Simple Page Protect Version 1.0 * * Copyright 2000 Frederic TYNDIUK (FTLS) All Rights Reserved. * * E-Mail: tyndiuk@ftls.org Script License: GPL * * Created 02/28/2000 Last Modified 02/28/2000 * * Scripts Archive at: <a href=\"http://www.ftls.org/php/\" target=\"_blank\">http://www.ftls.org/php/</a> * *******************************************************************************/ /*******************************************************************************/ // Necessary Variables: // z formularza zczytaj $od = @$_GET['od'] ; $temat = @$_GET['temat'] ; $tresc = @$_GET['tresc'] ; $TO = @$_GET["adresat"]; // En: E-Mail of mail recipient. // Fr: E-Mail pour l'envoie. $DEFAULT_EXIT_PAGE = ""; // En: exit page. // Fr: page de sortie. // End Necessary Variables section /******************************************************************************/ $headers = "From: Anonymous on $SERVER_NAME <$od>\n"; $headers .= "X-Mailler: PHP 3 Form2Mail made by FTLS, <a href=\"http://www.ftls.org/\n";\" target=\"_blank\">http://www.ftls.org/\n";</a> $subject = $temat ; $message = $tresc ; $message .= "$key : $val\n"; } $message .= "\nSent by ".gethostbyaddr($REMOTE_ADDR). " ($REMOTE_ADDR)\n"; // En : Send mail // Fr : Envoi du mail if(! $exit_page) $exit_page = $DEFAULT_EXIT_PAGE; // Exit -> $exit_page ?>
Gdzie popełniam błąd?
EDIT: dodam, że skrypt nie generuje żadnych błędów, maile niestety nie dochodzą. Proszę o pomoc.