SEOGuru
17 Dec 2008, 11:40 AM
I have a couple contact forms on my site and I can't seem to get the mailform.php script correct.
I just need these forms to POST the content to my email:
Here's the html of both forms:
<form id='form' action='scripts/mailform2.php' enctype='multipart/form-data' name='form'>
<div align="left">
<p><img src="images/link_exchange.gif" alt="contact_us" class="indent_img"><span></span>
Please double-click to highlight the box below and add the following code to your site BEFORE contacting us. </p>
<textarea name="LinkHTML" rows=5 cols=46 wrap="hard"><a href= "http://www.ajspromotionalmedia.com/">AJS Promotional Media - Search Engine Optimization (SEO) | Web Design</a>
</textarea>
<p>We will verify that the link is not broken and contact you once your link is approved. </p>
<p> Site URL:<br> <br>
<input class="form" type="text" name="url">
<br>
<br>
E-mail address:<br> <br>
<input class="form" type="text" name="email"><br> <br>
Reciprocal Link Page:<br> <br>
<input class="form" type="text" name="backlink"><br> <br>
HTML as you wish it to be added in the directory. <br>
*anchor text (max. 35 characters):<br> <br>
<textarea rows="5" cols="5" class="textarea" name="anchorHTML"></textarea>
<a href="#" class="link_gray" onClick="document.getElementById('form').reset()">Clear</a><img src="images/spacer.gif" alt="spacer" width="8" height="1"><a href="#" class="link_gray" onClick="document.getElementById('form').submit()">Submit</a></div>
</form>
______________________________________________________________
<form id='form' action='scripts/mailform.php' enctype='multipart/form-data' name='form'>
<div>
<img src="images/6tx2.gif" alt="contact_us" class="indent_img">Contact us today and receive your copy of "101 Ways to Promote Your Website"<span></span>
Your name:
<input class="form" type="text" name="realname"><BR>
E-mail address:
<input class="form" type="text" name="email">
Your telephone:
<input class="form" type="text" name="phone">
Message:
<textarea rows="5" cols="5" class="textarea" name="message"></textarea>
<div><a href="#" class="link_gray" onClick="document.getElementById('form').reset()">Clear</a><img src="images/spacer.gif" alt="spacer" width="8" height="1"><a href="#" class="link_gray" onClick="document.getElementById('form2').submit()">Submit</a></div>
</div>
</form>
I just need these forms to POST the content to my email:
Here's the html of both forms:
<form id='form' action='scripts/mailform2.php' enctype='multipart/form-data' name='form'>
<div align="left">
<p><img src="images/link_exchange.gif" alt="contact_us" class="indent_img"><span></span>
Please double-click to highlight the box below and add the following code to your site BEFORE contacting us. </p>
<textarea name="LinkHTML" rows=5 cols=46 wrap="hard"><a href= "http://www.ajspromotionalmedia.com/">AJS Promotional Media - Search Engine Optimization (SEO) | Web Design</a>
</textarea>
<p>We will verify that the link is not broken and contact you once your link is approved. </p>
<p> Site URL:<br> <br>
<input class="form" type="text" name="url">
<br>
<br>
E-mail address:<br> <br>
<input class="form" type="text" name="email"><br> <br>
Reciprocal Link Page:<br> <br>
<input class="form" type="text" name="backlink"><br> <br>
HTML as you wish it to be added in the directory. <br>
*anchor text (max. 35 characters):<br> <br>
<textarea rows="5" cols="5" class="textarea" name="anchorHTML"></textarea>
<a href="#" class="link_gray" onClick="document.getElementById('form').reset()">Clear</a><img src="images/spacer.gif" alt="spacer" width="8" height="1"><a href="#" class="link_gray" onClick="document.getElementById('form').submit()">Submit</a></div>
</form>
______________________________________________________________
<form id='form' action='scripts/mailform.php' enctype='multipart/form-data' name='form'>
<div>
<img src="images/6tx2.gif" alt="contact_us" class="indent_img">Contact us today and receive your copy of "101 Ways to Promote Your Website"<span></span>
Your name:
<input class="form" type="text" name="realname"><BR>
E-mail address:
<input class="form" type="text" name="email">
Your telephone:
<input class="form" type="text" name="phone">
Message:
<textarea rows="5" cols="5" class="textarea" name="message"></textarea>
<div><a href="#" class="link_gray" onClick="document.getElementById('form').reset()">Clear</a><img src="images/spacer.gif" alt="spacer" width="8" height="1"><a href="#" class="link_gray" onClick="document.getElementById('form2').submit()">Submit</a></div>
</div>
</form>