
Originally Posted by
Aziz
Hi,
What part of a dummy like me to install did you forget.
I have no clue how to add this to the form?
I'll try with your help.
I know just two codes to place but they don't say where to place them. 
Here is my contact.php
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>BritneySpearsFans.info | Britney Spears Fan Site</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="main">
<div id="top"><!-- --></div>
<div id="mainContent">
<?
include ("header.inc");
?>
<div id="leftCol">
<h1></h1>
</div>
<div id="rightCol">
<div id="menu">
<ul>
<?
include ("menu.inc");
?>
</ul>
</div>
<br /><br /><br />
<h2>Contact Us</h2>
<p>
<B>Please use this form to contact us for link backs, questions, requests etc...</b>
<BR />
<table>
<tr>
<td>
<form action='mail.php' method='post'>
Name : <input type='text' name='name' size=35><BR /><BR />
Email Address : <input type='text' name='email' size=35><BR /><BR />
Web URL : <input type='text' name='web' size=35><BR /><BR />
Please Type Your Message Below:
<textarea name='more' ROWS=6 COLS=30></textarea><BR />
<BR />
<input type='submit' value='Send'>
</form>
</td>
</tr>
</table>
</p>
</div>
</div>
<div>
<center>
<?php include("inc/adrotation.php"); ?>
</center>
</div>
<div id="footer"><br>
<p class="imgLeft">
<?php include("inc/footer.php"); ?>
</p>
</div>
</div>
</body>
</html>
Here is the mail.php
Code:
<?php
$to = "emailaddress";
$name = $_POST["name"];
$email = $_POST["email"];
$web = $_POST["web"];
$more = $_POST["more"];
$headers = "From: $email" . "\n";
$message_body .= 'Name: ' . $name . "\n";
$message_body .= 'Email: ' . $email . "\n";
$message_body .= 'Web URL: ' . $web . "\n";
$message_body .= 'Message: ' . $more . "\n";
mail( $to, 'Britney Form', $message_body, $headers); echo "";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>BritneySpearsFans.info | Britney Spears Fan Site</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="main">
<div id="top"><!-- --></div>
<div id="mainContent">
<?
include ("header.inc");
?>
<div id="leftCol">
<h1></h1>
</div>
<div id="rightCol">
<div id="menu">
<ul>
<?
include ("menu.inc");
?>
</ul>
</div>
<br /><br /><br />
<h2>Contact Us</h2>
<p><CENTER>
<br /><br /><br /><br />
<B>Thank You, Your Message Has Been Sent
<br /><br />
A Member Of Staff Will Respond As Soon As Possible</b>
<BR>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</CENTER>
</p>
</div>
</div>
<div>
<center>
<?php include("inc/adrotation.php"); ?>
</center>
</div>
<div id="footer"><br>
<p class="imgLeft">
<?php include("inc/footer.php"); ?>
</p>
</div>
</div>
</body>
</html>
Here is the link info page that is like gibberish to me.
PHP CAPTCHA Library for reCAPTCHA
Thanks in advance
Butterflies Forever
Sami
Bookmarks