<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: How to Send E-Mail in PHP: A &#8220;Share This&#8221; Form</title>
	<link>http://www.earn-web-cash.com/2008/02/06/send-email-php/</link>
	<description>Writing, Designing, and Making Money Online</description>
	<pubDate>Fri, 25 Jul 2008 12:31:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Walkere</title>
		<link>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-1759</link>
		<dc:creator>Walkere</dc:creator>
		<pubDate>Mon, 21 Apr 2008 23:53:08 +0000</pubDate>
		<guid>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-1759</guid>
		<description>You could try using the variable $_SERVER['HTTP_REFERER'].  This should contain the URL of the referring page.

I'm guessing you want to create a link from a content page to a script that handles the e-mailing.  If so, you could also add a $_GET variable to the URL and send that to the script.</description>
		<content:encoded><![CDATA[<p>You could try using the variable $_SERVER[&#8217;HTTP_REFERER&#8217;].  This should contain the URL of the referring page.</p>
<p>I&#8217;m guessing you want to create a link from a content page to a script that handles the e-mailing.  If so, you could also add a $_GET variable to the URL and send that to the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monica</title>
		<link>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-1725</link>
		<dc:creator>monica</dc:creator>
		<pubDate>Sun, 20 Apr 2008 22:56:28 +0000</pubDate>
		<guid>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-1725</guid>
		<description>Cool! I love this form and it works great. However -- is there a way to send the url of the previous page rather than the page the form is on? Something to replace this line: 

$pageURL = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];


I'm teaching myself PHP so I haven't yet found a solution on my own. Thanks!</description>
		<content:encoded><![CDATA[<p>Cool! I love this form and it works great. However &#8212; is there a way to send the url of the previous page rather than the page the form is on? Something to replace this line: </p>
<p>$pageURL = &#8216;http://&#8217; . $_SERVER[&#8217;SERVER_NAME&#8217;] . $_SERVER[&#8217;REQUEST_URI&#8217;];</p>
<p>I&#8217;m teaching myself PHP so I haven&#8217;t yet found a solution on my own. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin</title>
		<link>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-1589</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Wed, 16 Apr 2008 21:58:28 +0000</pubDate>
		<guid>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-1589</guid>
		<description>tesing this site</description>
		<content:encoded><![CDATA[<p>tesing this site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ricardo</title>
		<link>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-173</link>
		<dc:creator>ricardo</dc:creator>
		<pubDate>Sun, 17 Feb 2008 12:01:38 +0000</pubDate>
		<guid>http://www.earn-web-cash.com/2008/02/06/send-email-php/#comment-173</guid>
		<description>hello there how are you?</description>
		<content:encoded><![CDATA[<p>hello there how are you?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
