Показать сообщение отдельно

  #7  
Старый 01.08.2009, 13:50
-=Zhenek=-
Участник форума
Регистрация: 31.12.2007
Сообщений: 279
Провел на форуме:
1725509

Репутация: 114
По умолчанию

PHP код:
<?php 
if (isset($_POST['a1'])) {$a1 $_POST['a1'];} 
if (isset(
$_POST['a2'])) {$a2 $_POST['a2'];} 
if (isset(
$_POST['a3'])) {$a3 $_POST['a3'];} 
if (isset(
$_POST['a4'])) {$a4 $_POST['a4'];} 
if (isset(
$_POST['a5'])) {$a5 $_POST['a5'];} 
if (isset(
$_POST['a6'])) {$a6 $_POST['a6'];} 
if (isset(
$_POST['a7'])) {$a7 $_POST['a7'];} 
if (isset(
$_POST['a8'])) {$a8 $_POST['a8'];} 
if (isset(
$_POST['a9'])) {$a9 $_POST['a9'];} 
if (isset(
$_POST['a10'])) {$a10 $_POST['a10'];} 
if (isset(
$_POST['a11'])) {$a11 $_POST['a11'];} 

$address 'test@inbox.ru'
$sub "тема"
$mes "имя: $a1 \2: $a2 \ 3: $a3 \ 4: $a4 \5: $a5 \6: $a6 \7: $a7 \8: $a8 \9: $a9 \10: $a10 \11: $a11"
$verify mail ($address,$sub,$mes,"Content-type:text/plain; charset = windows-1251\r\nFrom:$email"); 

if (
$verify == 'true') echo "<p>cообщение отправлено</p>"
else echo 
"<p>не отправлено</p>"
?>
У меня все работает.
 
Ответить с цитированием