
Jan Gorba - 2007-02-22 06:10:08 -
In reply to message 2 from Dmitry Sheiko
Hi there,
Same here. Couldn't get it to work. Even if I follow your hint to delete some lines in those two files, I actually get different other messages (e.g. Invalid POST) as well, but no success. I reckon this is correct, because of these lines of code:
asf_controller.php:
if(!isset($_POST["email"])) $this->respond("Invalid POST");
if(!isset($_POST["gencode"])) $this->respond("Invalid POST");
session_start();
$this->MessageID = time();
$this->MessageBODY = $this->getMessageBody();
$this->deleteExpiredMessages();
and:
function getMessageBody() {
/* used only if GDLib extension support in PHP */
//if(md5($_POST["gencode"])!==$_SESSION["Md5OfGenCode"]) $this->respond("Incorrect confirmation code");
//unset($_POST["gencode"]);
/* used only if GDLib extension support in PHP */
$text = "<table border=\"0\" width=\"100%\">";
foreach($_POST as $key => $val) {
$val = nl2br(htmlspecialchars(stripslashes($val)));
$text .= "<tr><td valign=\"top\">{$key}</td><td width=\"100%\">{$val}</td></tr>";
}
$text .= "</table>";
return $text;
}
How can I get it to work then?
Cheers
Jan