simonf
01-26-2005, 01:28 PM
Hi
I've writen a script that should work with my form, however it does'nt, any suggestions please:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>VAGMOSMailer</title>
<body>
<?php
switch ($op) {
case send:
$config = "-finfo@nexgen.co.za";
$subject="Information Request from VAGMOS Web Site";
$txtto="info@vag.co.za"
$msg="Please respond in a timely manner.Thanks in advance";
mail("$txtto","$subject","$msg","$config");
header("Location: http://www.vagmos.co.za/thanks.htm");
?>
<?
break;
On the form itself I have this line:
<form name="frmMail" Action="formmail.php?op=send" method="post">
I've writen a script that should work with my form, however it does'nt, any suggestions please:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>VAGMOSMailer</title>
<body>
<?php
switch ($op) {
case send:
$config = "-finfo@nexgen.co.za";
$subject="Information Request from VAGMOS Web Site";
$txtto="info@vag.co.za"
$msg="Please respond in a timely manner.Thanks in advance";
mail("$txtto","$subject","$msg","$config");
header("Location: http://www.vagmos.co.za/thanks.htm");
?>
<?
break;
On the form itself I have this line:
<form name="frmMail" Action="formmail.php?op=send" method="post">