WebSite X5Help Center

 
Dmytro D.
Dmytro D.
User

E-mail error  en

Autor: Dmytro D.
Visited 973, Followers 1, Udostępniony 0  

after sending e-mail from contact form http://remont-otoplenie.kiev.ua/kontakty.html i've got

<?php
if(substr(basename($_SERVER['PHP_SELF']), 0, 11) == "imEmailForm") {
include '../res/x5engine.php';
$form = new ImForm();
$form->setField('От', $_POST['imObjectForm_2_1'], '', false);
$form->setField('Ваш е-мейл:', $_POST['imObjectForm_2_2'], '', false);
$form->setField('Текст для отправки', $_POST['imObjectForm_2_3'], '', false);

if(@$_POST['action'] != 'check_answer') {
if(!isset($_POST['imJsCheck']) || $_POST['imJsCheck'] != 'jsactive' || (isset($_POST['imSpProt']) && $_POST['imSpProt'] != ""))
die(imPrintJsError());
$form->mailToOwner('***', '***', '', '', false);
@header('Location: ../index.html');
exit();
} else {
echo $form->checkAnswer(@$_POST['id'], @$_POST['answer']) ? 1 : 0;
}
}

// End of file

on the blank page

Posted on the
2 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Dmytro D.
Dmytro D.
User
Autor

Just turned PHP ON on my Webserver )))

Czytaj więcej
Posted on the from Dmytro D.
Dmytro D.
Dmytro D.
User
Autor

Seems OK

Czytaj więcej
Posted on the from Dmytro D.