hello,
i had this asp script that i converted to php using asp2php.
problem is it still doesn't work. i get this error
Parse error: parse error in /usr/local/psa/home/vhosts/vancityriders.com/httpdocs/pics/formMail.php on line 32
this is th code the converter gave me:
(PLEASE HELP)
<? // asp2php (vbscript) converted
?>
<?
ob_start();
$mtext01="Seeking: ".$HTTP_POST_VARS["gender"]."\r\n";
$mtext02="Ages: ".$HTTP_POST_VARS["ageOne"]." ".$HTTP_POST_VARS["ageTwo"]." ".$HTTP_POST_VARS["ageThree"]." ".$HTTP_POST_VARS["ageFour"]."\r\n";
$mtext03="Enjoys: ".$HTTP_POST_VARS["enjoySports"]." ".$HTTP_POST_VARS["enjoyNightLife"]." ".$HTTP_POST_VARS["enjoyChillin"]." ".$HTTP_POST_VARS["enjoyNature"]."\r\n";
$mtext04="For: ".$HTTP_POST_VARS["forFriendship"]." ".$HTTP_POST_VARS["forRomance"]." ".$HTTP_POST_VARS["forMarriage"]."\r\n";
$mtext05="Email: ".$HTTP_POST_VARS["email"]."\r\n";
$mtextz=$mtext01.$mtext02.$mtext03.$mtext04.$mtext05;
// $myMail is of type "Persits.MailSender"
if ($HTTP_POST_VARS["email"]=="")
{
$myMail.$From="No name";
}
else
{
$myMail.$From=$HTTP_POST_VARS["email"];
}
$ReplyAddress=$HTTP_POST_VARS["email"];
$myMail.$Host="mail.vancityriders.com";
$myMail.$From="info@vancityriders.com";
$myMail.$AddReplyTo$ReplyAddress;
$myMail.$AddAddress"ryan@vancityriders.com";
$myMail.$Subject="Quick Match";
$myMail.$Body=$mtextz;
$myMail.$Send;
$myMail=null;
print "Status=Your form has been sent";
?>