<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JS PROMOTION &#187; php tutorial</title>
	<atom:link href="http://www.jspromotion.com/tag/php-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jspromotion.com</link>
	<description>We do everything that is web related!</description>
	<lastBuildDate>Mon, 19 Apr 2010 01:55:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP tutorial: simple contact form using the mail() function</title>
		<link>http://www.jspromotion.com/php-tutorial-contact-form-141.html</link>
		<comments>http://www.jspromotion.com/php-tutorial-contact-form-141.html#comments</comments>
		<pubDate>Sun, 04 Oct 2009 18:07:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[mail() function]]></category>
		<category><![CDATA[php contact form]]></category>
		<category><![CDATA[php e-mail]]></category>
		<category><![CDATA[php scripts]]></category>
		<category><![CDATA[php tutorial]]></category>

		<guid isPermaLink="false">http://www.jspromotion.com/?p=141</guid>
		<description><![CDATA[Here is an extremely simple way to create a contact form with PHP and the mail() function.
Copy the code above and keep reading..
&#60;?
if ($_POST){
$to = &#8220;youremail@gmail.com&#8221;;
$subject = &#8220;YOUR SUBJECT&#8221;;
$email = $_REQUEST["email"];
$name = $_REQUEST["name"];
$message = &#8220;Name: &#8220;.$name.&#8221;\r\n&#8221;. &#8220;Email: &#8220;.$email.&#8221;\r\n&#8221;. &#8220;Message: &#8220;.$_REQUEST["message"];
$headers = &#8220;From: $email&#8221;; mail($to, $subject, $message, $headers);
echo &#8220;Thanks for submitting.&#8221;;
}
else
{
?&#62;
&#60;html&#62;
&#60;head&#62;
&#60;title&#62;Contact Us&#60;/title&#62;
&#60;body&#62;
&#60;table&#62;
&#60;form action=&#8217;email.php&#8217; method=&#8217;post&#8217;&#62;
&#60;tr&#62;
&#60;td&#62;
Your Name:
&#60;/td&#62;
&#60;td&#62;&#60;input type=&#8217;text&#8217; [...]]]></description>
		<wfw:commentRss>http://www.jspromotion.com/php-tutorial-contact-form-141.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
