The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
> I suggest you get:
> PHP: Fast and Easy Web Development
I second that - its an excellent introduction to both PHP and MySQL.
Chris.
"We don't sell turkeys, even at Christmas"
I also find some interesting scripts at:
www.phpbuilder.com
www.devshed.com
There is also a good PHP forum at:
http://forums.devshed.com
That's obviously only if you can't find the help here.
where it says..
# The actuall results
$Message = "Submited details:\n\n " &
foreach($HTTP_GET_VARS as $key=>$value) {
$key: $value\n\n
}
& ", sent via HTML Web Form.";
... that should be ...
# The actuall results
$Message = "";
foreach($HTTP_GET_VARS as $key=>$value) {
$Message ."$Key: $Value"
}
$Send_To = "[email protected]";
# The E-mail Address you want the results sent to.
$Sent_From = "My WebSite HTML Form";
# Either an E-mail Address or note, just so you kno where
# the E-mail came from
$Subject = "Filled in HTML Form";
# The Subject line of sent the E-mail
# The actuall results
$Message = "Submited details:\n\n " &
foreach($HTTP_GET_VARS as $key=>$value) {
$key: $value\n\n
}
& ", sent via HTML Web Form.";
mail($Send_To, $Subject, $Message, "FROM:$Sent_From") or print "Error Occured, mail not sent.";
# Sends the E-mailed Results to you, or alerts of an error.
?>
This Script will just send you all th fields that were filled in ... it goes through each field, so you can add or delete any fields on the HTML form, and not have to edit your PHP Script... You should put the method as Postin the
PHP: Fast and Easy Web Development
It is the book that I used to learn PHP and it takes you through setting it up on your computer and through basic principles and scripts (includeing a very easy mail script).
Anyway...
Trev, whats your email address? I can send you a couple of pages and scripts that'll do the job. It was freeware from somewhere or other but its easy to configure.
cheers
ajg