Posted June 28 '09 at 06:59 PM
Posts: 4
I'm new to all this and this is my first site so learning as i go. Maybe its justy easier if i post the code from my page.
<?php
ini_set('display_errors', 1);
extract($_POST);
if (!file_exists("../config.php"))
{
$host = $_SERVER[HTTP_HOST ];
$path = pathinfo($_SERVER['PHP_SELF']);
$file_path = $path['dirname'];
exit;
}
include "../config.php";
if ($sendto_email == "
changeme@example.com")
{
exit;
}
if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email))
{
$error = "1";
$info_error .= $lang_invalidemail . "<br>";
}
if (empty ($security_code))
{
$error = "1";
$info_error .= $lang_nocode . "<br>";
}
if ($terms != "1") {
if ($senders_name != "=") {
$error = "1";
$info_error .= "Please accept the terms and conditions and try again<br><br>";
}
}
elseif ($security_code != $randomness)
{
$error = "1";
$info_error .= $lang_wrongcode . "<br>";
}
if ($showlink != "no")
{
$link = "<br><span style=\"font-size: 10px;\">Powered by <a href=\"