View Single Post
  #10 (permalink)  
Old May 13th, 2007, 06:50
grahame grahame is offline
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Help With Php

Quote:
Originally Posted by tyler199 View Post
yer i need help with the php stuff its so confusing
But, Tyler, we can't help sort out what's wrong with your code is you don't show it to us

Your original script refers to a file called mail.php on a web site called www.feedback.com and that's the PHP script that it was trying to use. At its simplest (I have tested this, but you need to put your email address in there!) the script would look like:

Code: Select all
<?php
foreach (array_keys($_REQUEST) as $kn) {
$em .= "$kn: $_REQUEST[$kn]\n\n"; }
mail("tyler@yourdomain.com","Subject goes here",$em);
?>
<html>
<body>
--- Response page ---<br>
<a href=http://www.wellho.net>A great place to learn</a>
</body>
</html>
Reply With Quote