Tag Archives: php for tutorial

PHP Form Mail Script

I’ve had some requests to show you the php script I used to process and send the email from the HTML W3C Tutorial. So here you are. I’ll go through everything, like before, by including the code in black and white and my descriptions of the code in a blue box.

Code is here in a zipped archive.

<html>

You begin a PHP script with the HTML tag, just like normal HTML. You would save the file with the extention .PHP instead of .html though.

<head><title>PHP Mail Sender</title></head>

Here is the definition of the header section using HTML tags. I trust you know what these means. If not view the HTML W3C tutorial here.

Continue reading PHP Form Mail Script