<?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>Deep ka Blog &#187; PHP</title>
	<atom:link href="http://www.whoisdeep.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whoisdeep.com</link>
	<description>Deep inside........ Deep !!!!!!!</description>
	<lastBuildDate>Mon, 05 Jul 2010 07:35:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP Based Google Sitemaps Generator</title>
		<link>http://www.whoisdeep.com/2005/08/18/php-based-google-sitemaps-generator/</link>
		<comments>http://www.whoisdeep.com/2005/08/18/php-based-google-sitemaps-generator/#comments</comments>
		<pubDate>Thu, 18 Aug 2005 18:08:45 +0000</pubDate>
		<dc:creator>Deep</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech News & Stuff]]></category>

		<guid isPermaLink="false">http://www.whoisdeep.com/?p=200</guid>
		<description><![CDATA[I came across this great app called phpSitemapNG couple of days back when I was searching for some PHP based application which can generate xml file for Google Sitemaps You just have to install this application on your server, there is nothing much to install, just need to change CHMOD of few files and get [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this great app called <a href="http://enarion.net/google/phpsitemapng/">phpSitemapNG</a> couple of days back when I was searching for some PHP based application which can generate xml file for <a href="https://www.google.com/webmasters/sitemaps/">Google Sitemaps</a></p>
<p>You just have to install this application on your server, there is nothing much to install, just need to change CHMOD of few files and get the things rolling&#8230; <img src='http://www.whoisdeep.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This app is just too powerful&#8230;it scans each and every file hosted on the server, of course it has option exclude file types and folders (some common folder names and file types are already added in exclude  list)&#8230;..</p>
<p>It has plugin support also, so you can just create plugin for your application according to your needs and get the things rolling <img src='http://www.whoisdeep.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Their next version is going to have option to include remote sites so that sitemaps can be managed from centralized location&#8230;.</p>
<p>The man behind this application, Tobias, is a pretty cool guy&#8230;now I have him on my messenger too <img src='http://www.whoisdeep.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  He is currently looking for some people to contribute their plugins, he has also put up <a href="http://www.enarion.net/google/phpsitemapng/development/jobs/">current requirements page</a>, see if you can contribute something and make that app. much more powerful <img src='http://www.whoisdeep.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.whoisdeep.com/2005/08/18/php-based-google-sitemaps-generator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Headers Appear inside Body while sending HTML mails</title>
		<link>http://www.whoisdeep.com/2004/07/23/headers-appear-inside-body/</link>
		<comments>http://www.whoisdeep.com/2004/07/23/headers-appear-inside-body/#comments</comments>
		<pubDate>Fri, 23 Jul 2004 09:33:56 +0000</pubDate>
		<dc:creator>Deep</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.whoisdeep.com/archives/2004/07/23/headers-appear-inside-body/</guid>
		<description><![CDATA[This is one of the strange problems i have faced in PHP. When you try to send HTML mails using mail() function in PHP you get HTML code in the main instead of showing HTML Content. It may happen because of some missing headers but it may happen because of some restrictions on mail server [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of the strange problems i have faced in PHP.</p>
<p>When you try to send HTML mails using <a href="http://in.php.net/manual/en/ref.mail.php" target="_blank">mail()</a> function in PHP you get HTML code in the main instead of showing HTML Content.</p>
<p>It may happen because of some missing headers but it may happen because of some restrictions on mail server also.</p>
<p>So to cross check it you need to check following things first..</p>
<p><b>Check if you have provided proper headers and other things are proper or not.</b></p>
<p><span id="more-4"></span></p>
<p>Generally your code should be similar to this:</p>
<p><code><br />
$headers = "From: from@address.com\r\n";</p>
<p>$headers .= "MIME-Version: 1.0\r\n"; </p>
<p>$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";</p>
<p>$to = "to@address.com";</p>
<p>$subject = "Any Subject";</p>
<p>$message=$html_code;</p>
<p>// ok now send the mail</p>
<p>mail ($to,$subject,$message,$headers);<br />
</code></p>
<p>If still same and you find no errors then try to upload it on some test server and see whether itÃ¢â‚¬â„¢s working or not.</p>
<p>and still doesnÃ¢â‚¬â„¢t work then there could be problem with your web hostÃ¢â‚¬â„¢s mail server.</p>
<p>It doesnÃ¢â‚¬â„¢t happen with all the servers but few servers like <a href="http://www.1and1.com" target="_blank">1and1</a> do not allow mails with Ã¢â‚¬Å“<b>\n</b>Ã¢â‚¬? in the end of each header.</p>
<p>So you just need to remove Ã¢â‚¬Å“\nÃ¢â‚¬? from the end of each header and keep only Ã¢â‚¬Å“\r&#8221;, it should slove your problem.  <img src='http://www.whoisdeep.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I hope this helps you.</p>
<p>Deep</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whoisdeep.com/2004/07/23/headers-appear-inside-body/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
