genius
Feb 9th 2009, 12:41 am
Hello,
I tried to make a form with the following script
<form action="contact.php" mehod="post">
<table width="75%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%">
<h5>
<p><label for="name">Name </label></p>
</h5>
<p><label for="name">
<input name="name" id="name" />
</label></p>
<input type="submit" name="submit">
</form>
Then I have another script that something like :
<?PHP $name=$_REQUEST['name'];
$adress=$_REQUEST['adress'];
$mail=$_REQUEST['mail'];
$msg=$_REQUEST['msg'];
#trimite mail-ul
mail($to,$re,$msg);
$to = "mail";
$re = "subject";
$msg = "Nume: $nume\n Subiect: $subject\n Email: $mail\n Comentarii: $mesaj\n\n IP : $REMOTE_ADDR";
?>
I doesn't seem to work , do you have another ideea about another script ?
I tried to make a form with the following script
<form action="contact.php" mehod="post">
<table width="75%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%">
<h5>
<p><label for="name">Name </label></p>
</h5>
<p><label for="name">
<input name="name" id="name" />
</label></p>
<input type="submit" name="submit">
</form>
Then I have another script that something like :
<?PHP $name=$_REQUEST['name'];
$adress=$_REQUEST['adress'];
$mail=$_REQUEST['mail'];
$msg=$_REQUEST['msg'];
#trimite mail-ul
mail($to,$re,$msg);
$to = "mail";
$re = "subject";
$msg = "Nume: $nume\n Subiect: $subject\n Email: $mail\n Comentarii: $mesaj\n\n IP : $REMOTE_ADDR";
?>
I doesn't seem to work , do you have another ideea about another script ?