Do I replace the whole variable such as $url with http://www.mysite.com or "http://www.mysite.com"
or do I have to add to the variable such as $url="http://www.mysite.com"
also on this line: <form method="post" action="suggest.php"> does it need to be "mysuggest.php" or
do I leave it at "suggest.php"
Thanks, John
Open mysuggest.php and modify the variables below;
select which language pack you want to use :
tur.lang.php for Turkish
eng.lang.php for English
include("eng.lang.php");
$sitename="enter your site's name here ";
will be displayed in the "From" field of the mail
$url="enter your site address here e.g. http://www.yoursite.com";
will be displayed in the body of the mail
$adminmail="enter your e-mail address here";
$mailtosender="1";
/ building the mail body /
$mailbody="$suggestionfor ".$rname."\n\n";
$mailbody.=$siteownermessage."\n";
$mailbody.=$url."\n\n";
$mailbody.="$from ".$sname."\n";
$mailbody.="$sendersmail ".$smail."\n\n";
if (!empty($message))
{
$mailbody.=$sname." $wrote\n";
$mailbody.="-----------------------------------\n";
$mailbody.=$message;
}
$mailbody.="\n-----------------------------------\n";
$mailbody.=$author;
$mailheaders="From: $sitename<$adminmail>\n";
/ building the body of the mail for the sender /
if ($mailtosender=="1")
{
$smailbody=$sname.",\n";
$smailbody.=$thankyoumessage."\n";
$smailbody.="\n-----------------------------------\n";
$smailbody.=$author;
$smailheaders="From: $sitename<$adminmail>\n";
mail($smail,$thankyousubject,$smailbody,$smailheaders);
}
/ sends the mail /
if (@mail($rmail,$mailsubject,$mailbody,$mailheaders))
{
msg( "$mailsent","$rmail");
}
else
{
msg ("$error","$mailproblem");
}
// displays the form if no submission
}