<?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>Dream House &#187; PHP</title>
	<atom:link href="http://sajjadhossain.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://sajjadhossain.com</link>
	<description>Courage to do something...</description>
	<lastBuildDate>Wed, 10 Mar 2010 05:55:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Security in PHP</title>
		<link>http://sajjadhossain.com/2008/08/26/security-in-php/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/08/26/security-in-php/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 05:53:47 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/?p=48</guid>
		<description><![CDATA[PHP is a very flexible language. But sometimes this flexibility creates security flaws because of improper use of it. I had just read an article &#8220;Top 7 PHP Security Blunders&#8221; by Pax Dickinson. It shows top 7 mistakes or flaws that may break site security. &#8220;Security is a process, not a product, and adopting a [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<div id="attachment_113" class="wp-caption alignleft" style="width: 397px"><img class="size-full wp-image-113" title="php_security" src="http://sajjadhossain.com/wp-content/uploads/2008/08/php_security.jpg" alt="PHP Security" width="387" height="340" /><p class="wp-caption-text">PHP Security</p></div>
<p>PHP is a very flexible language. But sometimes this flexibility creates security flaws because of improper use of it. I had just read an article &#8220;<a href="http://www.sitepoint.com/article/php-security-blunders" target="_blank">Top 7 PHP Security Blunders</a>&#8221; by Pax Dickinson. It shows top 7 mistakes or flaws that may break site security.</p>
<blockquote><p>&#8220;Security is a process, not a product, and adopting a sound approach to security during the process of application development will allow you to produce tighter, more robust code.&#8221; &#8211; Pax Dickinson</p></blockquote>
<p>In this article the author has shown how PHP application be infected and how to protect it. He has described the followings with reference to different articles:</p>
<ul>
<li>Unvalidated Input Errors</li>
<li>Access Control Flaws</li>
<li>Session ID Protection</li>
<li>Cross Site Scripting (XSS) Flaws</li>
<li>SQL Injection Vulnerabilities</li>
<li>Error Reporting</li>
<li>Data Handling Errors</li>
<li>Configuring PHP For Security</li>
</ul>
<p>I found this article knowledgeable. Hope you will like it. You may read it from here <a href="http://www.sitepoint.com/article/php-security-blunders" target="_blank">http://www.sitepoint.com/article/php-security-blunders</a>.</p>
<p>I want to conclude with lines from this article&#8230;</p>
<blockquote><p>&#8220;&#8230;there are many things to be aware of when programming secure PHP applications,  though this is true with any language, and any server platform. PHP is no less  secure than many other common development languages. The most important thing is  to develop a proper security mindset and to know your tools well&#8230;&#8221;</p></blockquote>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F08%2F26%2Fsecurity-in-php%2F&amp;linkname=Security%20in%20PHP"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/08/26/security-in-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>cPanel: Class for creating email account and mail forwarder</title>
		<link>http://sajjadhossain.com/2008/07/15/cpanel-class-for-creating-email-account-and-mail-forwarder/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/07/15/cpanel-class-for-creating-email-account-and-mail-forwarder/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 09:49:44 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[My Works]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[cpanel class]]></category>
		<category><![CDATA[mail creator]]></category>
		<category><![CDATA[mail forwader]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/?p=45</guid>
		<description><![CDATA[This class can be used to create email account and mail forwarders using PHP, without logging to cPanel. It is an extension of script made by www.zubrag.com. You can access the original link from here http://www.zubrag.com/scripts/cpanel-create-email-account.php. And it is also a modified version of the class &#8220;cpmail&#8221; which was coded by Md. Zakir Hossain (Raju), [...]


Related posts:<ol><li><a href='http://sajjadhossain.com/2008/04/24/paging-class-using-php-and-mysql/' rel='bookmark' title='Permanent Link: Paging Class using PHP and MySQL'>Paging Class using PHP and MySQL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-116" title="cpanel_logo" src="http://sajjadhossain.com/wp-content/uploads/2008/07/cpanel_logo.jpg" alt="cpanel logo cPanel: Class for creating email account and mail forwarder" width="190" height="90" />This class can be used to create email account and mail forwarders using PHP, without logging to cPanel.  It is an extension of script made by www.zubrag.com. You can access the original link from here http://www.zubrag.com/scripts/cpanel-create-email-account.php. And it is also a modified version of the class &#8220;cpmail&#8221; which was coded by Md. Zakir Hossain (Raju), http://www.rajuru.xenexbd.com.  <strong>How to configure:</strong></p>
<ol>
<li><a title="Download cPanel Manager" href="http://sajjadhossain.com/wp-content/uploads/2008/07/cpmailmanager10.rar#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Download</a> the zipped file.</li>
<li>Unzip the file. This file contains the class file and an example file.</li>
<li>Open the class file and change these variables -
<ul>
<li>$currentTheme &#8211; Your cPanel theme</li>
<li>$userName &#8211; Your cPanel user name</li>
<li>$password &#8211; Your cPanel password</li>
<li>$domain &#8211; Your cPanel domain</li>
<li>$cPanelPort &#8211; Your cPanel port [optional]</li>
</ul>
</li>
<li>Include the class in the file where you want to use it.</li>
</ol>
<p><strong>Example:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// include the class file</span>
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'class.cpmailmanager.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// create an instanse of the class</span>
<span style="color: #000088;">$cp</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> CPMailManager<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// create an email account</span>
<span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">createEmail</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sadat'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'sadat123'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">status</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//account created successfully</span>
<span style="color: #009900;">&#123;</span>
     <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Mail created successfully'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
     <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">message</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// create mail forwarder</span>
<span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">createForwarder</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sadat'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'msh@example.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">message</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// delete mail forwarder</span>
<span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">deleteForwarder</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sadat'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'msh@example.com'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">message</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// delete email account</span>
<span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">deleteEmail</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sadat'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$cp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">message</span><span style="color: #339933;">;</span></pre></div></div>

<p><a title="cPanel Mail Manager" href="http://sajjadhossain.com/wp-content/uploads/2008/07/cpmailmanager10.rar#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-6" style="float: left;" src="http://sajjadhossain.com/wp-content/uploads/2008/01/download.gif" alt="download cPanel: Class for creating email account and mail forwarder" width="95" height="20" title="cPanel: Class for creating email account and mail forwarder" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F07%2F15%2Fcpanel-class-for-creating-email-account-and-mail-forwarder%2F&amp;linkname=cPanel%3A%20Class%20for%20creating%20email%20account%20and%20mail%20forwarder"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://sajjadhossain.com/2008/04/24/paging-class-using-php-and-mysql/' rel='bookmark' title='Permanent Link: Paging Class using PHP and MySQL'>Paging Class using PHP and MySQL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/07/15/cpanel-class-for-creating-email-account-and-mail-forwarder/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CodeIgniter &#8211; Plugin for DOMPDF</title>
		<link>http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 15:01:10 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[DOMPDF]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[code igniter plugin dompdf]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/</guid>
		<description><![CDATA[I have modified the plugin for DOMPDF which is found in CodeIgniter forum. I have added the paper size and orientation parameters. Here is the code to share with you. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 &#60;?php [...]


Related posts:<ol><li><a href='http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/' rel='bookmark' title='Permanent Link: DOMPDF without PDFLib as back-end PDF support'>DOMPDF without PDFLib as back-end PDF support</a></li>
<li><a href='http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/' rel='bookmark' title='Permanent Link: DOMPDF Attachment issue in IE (Internet Explorer)'>DOMPDF Attachment issue in IE (Internet Explorer)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have modified the plugin for DOMPDF which is found in CodeIgniter forum. I have added the paper size and orientation parameters. Here is the code to share with you.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">defined</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'BASEPATH'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'No direct script access allowed'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">function</span> pdf_create<span style="color: #009900;">&#40;</span><span style="color: #000088;">$html</span><span style="color: #339933;">,</span> <span style="color: #000088;">$filename</span><span style="color: #339933;">,</span> <span style="color: #000088;">$stream</span><span style="color: #339933;">=</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #000088;">$papersize</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'letter'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$orientation</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'portrait'</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;dompdf/dompdf_config.inc.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$dompdf</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DOMPDF<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$dompdf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load_html</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$html</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$dompdf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set_paper</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$papersize</span><span style="color: #339933;">,</span> <span style="color: #000088;">$orientation</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$dompdf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">render</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$stream</span><span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Attachment'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Accept-Ranges'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'compress'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$dompdf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">stream</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$filename</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.pdf&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">else</span>
        <span style="color: #009900;">&#123;</span>
            write_file<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$filename</span>.pdf&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dompdf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">output</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F06%2F21%2Fcodeigniter-plugin-for-dompdf%2F&amp;linkname=CodeIgniter%20%26%238211%3B%20Plugin%20for%20DOMPDF"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/' rel='bookmark' title='Permanent Link: DOMPDF without PDFLib as back-end PDF support'>DOMPDF without PDFLib as back-end PDF support</a></li>
<li><a href='http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/' rel='bookmark' title='Permanent Link: DOMPDF Attachment issue in IE (Internet Explorer)'>DOMPDF Attachment issue in IE (Internet Explorer)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>DOMPDF without PDFLib as back-end PDF support</title>
		<link>http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 14:47:27 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[DOMPDF]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ci and pdf]]></category>
		<category><![CDATA[code igniter]]></category>
		<category><![CDATA[codeigniter with dompdf]]></category>
		<category><![CDATA[dompdf without pdflib]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdf ci]]></category>
		<category><![CDATA[pdf codeigniter]]></category>
		<category><![CDATA[pdflib]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/</guid>
		<description><![CDATA[I was implementing PDF generation in one of projects which is built with CodeIgniter. I searched for PDF support for CodeIgniter and found help on CI forum. I followed the instruction given there and used DOMPDF. The result was satisfactory though I faced an issue. I was happy, but the problem was with the PDFLib. [...]


Related posts:<ol><li><a href='http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/' rel='bookmark' title='Permanent Link: DOMPDF Attachment issue in IE (Internet Explorer)'>DOMPDF Attachment issue in IE (Internet Explorer)</a></li>
<li><a href='http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/' rel='bookmark' title='Permanent Link: CodeIgniter &#8211; Plugin for DOMPDF'>CodeIgniter &#8211; Plugin for DOMPDF</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-120" style="padding:0 5px 5px 0" title="dompdf_logo" src="http://sajjadhossain.com/wp-content/uploads/2008/06/dompdf_logo.png" alt="dompdf logo DOMPDF without PDFLib as back end PDF support" width="150" height="57" />I was implementing PDF generation in one of projects which is built with CodeIgniter. I searched for PDF support for CodeIgniter and found <a href="http://codeigniter.com/wiki/PDF_generation_using_dompdf/" target="_blank">help on CI forum</a>. I followed the instruction given there and used DOMPDF. The result was satisfactory though I faced an <a href="http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">issue</a>. I was happy, but the problem was with the PDFLib. Its not free and our client would not buy it. I thought that DOMPDF will not work without the help of PDFLib. Soon I loss my happiness and started looking for an alternate solution. Then our team decided to use HTML2FPDF. But the result was not satisfactory. We had to rewrite our html files. It was lacking lots of HTML support. I was not happy with the output. So I started googling again for a PDF library. While searching I came accross a library called HTML2PS/HTML2PDF. But, it seemed to me complex. I again started searching for any solution which will help me use DOMPDF in my project without PDFLib. At last I got the solution from <a href="http://www.digitaljunkies.ca/dompdf/install.php" target="_blank">DOMPDF site</a> <img src='http://sajjadhossain.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' title="DOMPDF without PDFLib as back end PDF support" /> .</p>
<p>&#8220;&#8230;Edit dompdf_config.inc.php to fit your installation. If you leave the DOMPDF_PDF_BACKEND setting at &#8216;auto&#8217; dompdf will use PDFLib if it is installed, otherwise it will use the bundled R&amp;OS CPDF class&#8230;&#8221;</p>
<p>I was very much happy to read this. I might have missed this while installing DOMPDF for the first time. Thanks DOMPDF for a nice interface and output. Really DOMPDF made our coding not just easy, but saved our times <img src='http://sajjadhossain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="DOMPDF without PDFLib as back end PDF support" /> .</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F06%2F21%2Fdompdf-without-pdflib-as-back-end-pdf-support%2F&amp;linkname=DOMPDF%20without%20PDFLib%20as%20back-end%20PDF%20support"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/' rel='bookmark' title='Permanent Link: DOMPDF Attachment issue in IE (Internet Explorer)'>DOMPDF Attachment issue in IE (Internet Explorer)</a></li>
<li><a href='http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/' rel='bookmark' title='Permanent Link: CodeIgniter &#8211; Plugin for DOMPDF'>CodeIgniter &#8211; Plugin for DOMPDF</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOMPDF Attachment issue in IE (Internet Explorer)</title>
		<link>http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/#comments</comments>
		<pubDate>Fri, 30 May 2008 11:06:35 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[DOMPDF]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Attachment]]></category>
		<category><![CDATA[code igniter]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/</guid>
		<description><![CDATA[I have used DOMPDF in my project. But I was facing problem with Attachment. In FireFox it was working fine. But in Internet Explorer (I used IE 6) it ended with an error. In IE it was showing the download dialogue box offering the script page I used to generate the PDF file. When I [...]


Related posts:<ol><li><a href='http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/' rel='bookmark' title='Permanent Link: DOMPDF without PDFLib as back-end PDF support'>DOMPDF without PDFLib as back-end PDF support</a></li>
<li><a href='http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/' rel='bookmark' title='Permanent Link: CodeIgniter &#8211; Plugin for DOMPDF'>CodeIgniter &#8211; Plugin for DOMPDF</a></li>
<li><a href='http://sajjadhossain.com/2009/05/14/internet-explorer-developer-toolbar/' rel='bookmark' title='Permanent Link: Internet Explorer Developer Toolbar'>Internet Explorer Developer Toolbar</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><img class="alignleft size-full wp-image-124" style="padding:0 5px 5px 0;" title="dompdf_ie" src="http://sajjadhossain.com/wp-content/uploads/2008/05/dompdf_ie.png" alt="dompdf ie DOMPDF Attachment issue in IE (Internet Explorer)" width="150" height="108" />I have used DOMPDF in my project. But I was facing problem with Attachment. In FireFox it was working fine. But in Internet Explorer (I used IE 6) it ended with an error. In IE it was showing the download dialogue box offering the script page I used to generate the PDF file. When I tried to download the file it showed an error.</p>
<p class="MsoNormal">I searched the web and found no suitable solution. I followed the instruction given in <a href="http://www.corenettech.com/blog/index.php/2008/04/06/using-dompdf-with-windows-and-ie/">http://www.corenettech.com/blog/</a> but it didn’t work <img src='http://sajjadhossain.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' title="DOMPDF Attachment issue in IE (Internet Explorer)" /> . But I got an idea from this post. I started digging the code and have done following changes to PDFLib_Adapter class (available in DOMPDF_DiRECTORY/include/pdflib_adapter.cls.php).</p>
<p class="MsoNormal">I have removed the following line (line 829):</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Cache-Control: private&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p class="MsoNormal">and added</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">strstr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;MSIE&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Expires: 0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Cache-Control: must-revalidate, post-check=0, pre-check=0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Transfer-Encoding: binary&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pragma: public'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Length: &quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Cache-Control: private&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Transfer-Encoding: binary&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Expires: 0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pragma: no-cache'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Length: &quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p class="MsoNormal">After</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-type: application/pdf&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Disposition: <span style="color: #006699; font-weight: bold;">$attach</span>; filename=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$filename</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>That’s it! My code started working <img src='http://sajjadhossain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="DOMPDF Attachment issue in IE (Internet Explorer)" /> .</p>
<p>Hope this will save your time of surfing the net <img src='http://sajjadhossain.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' title="DOMPDF Attachment issue in IE (Internet Explorer)" /> .</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F05%2F30%2Fdompdf-attachment-issue-in-ie-internet-explorer%2F&amp;linkname=DOMPDF%20Attachment%20issue%20in%20IE%20%28Internet%20Explorer%29"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://sajjadhossain.com/2008/06/21/dompdf-without-pdflib-as-back-end-pdf-support/' rel='bookmark' title='Permanent Link: DOMPDF without PDFLib as back-end PDF support'>DOMPDF without PDFLib as back-end PDF support</a></li>
<li><a href='http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/' rel='bookmark' title='Permanent Link: CodeIgniter &#8211; Plugin for DOMPDF'>CodeIgniter &#8211; Plugin for DOMPDF</a></li>
<li><a href='http://sajjadhossain.com/2009/05/14/internet-explorer-developer-toolbar/' rel='bookmark' title='Permanent Link: Internet Explorer Developer Toolbar'>Internet Explorer Developer Toolbar</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/05/30/dompdf-attachment-issue-in-ie-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Paging Class using PHP and MySQL</title>
		<link>http://sajjadhossain.com/2008/04/24/paging-class-using-php-and-mysql/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/04/24/paging-class-using-php-and-mysql/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 17:21:30 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[My Works]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[code for php pagination]]></category>
		<category><![CDATA[code for php paging]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[pagination class]]></category>
		<category><![CDATA[paging]]></category>
		<category><![CDATA[paging class]]></category>
		<category><![CDATA[php pagination]]></category>
		<category><![CDATA[php paging]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/2008/04/24/paging-class-using-php-and-mysql/</guid>
		<description><![CDATA[Based on my last post on paging using PHP and MySQL, I have coded this class. It is very easy to implement and it will save your time. Here is a code snippet to show how simple to use it. //include the class file include&#40;'Pager.php'&#41;; &#160; //making connection to the database mysql_connect&#40;'localhost', 'root', ''&#41;; mysql_select_db&#40;'test'&#41;; [...]


Related posts:<ol><li><a href='http://sajjadhossain.com/2008/03/09/paging-using-php-and-mysql/' rel='bookmark' title='Permanent Link: Paging using PHP and MySQL'>Paging using PHP and MySQL</a></li>
<li><a href='http://sajjadhossain.com/2008/07/15/cpanel-class-for-creating-email-account-and-mail-forwarder/' rel='bookmark' title='Permanent Link: cPanel: Class for creating email account and mail forwarder'>cPanel: Class for creating email account and mail forwarder</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Based on my last post on <a href="http://sajjadhossain.com/2008/03/09/paging-using-php-and-mysql/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">paging using PHP and MySQL</a>, I have coded this class. It is very easy to implement and it will save your time. Here is a code snippet to show how simple to use it.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//include the class file</span>
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pager.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//making connection to the database</span>
<span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'root'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'test'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//prepare SQL</span>
<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'SELECT * FROM books'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//create an object of Pager passing the SQL</span>
<span style="color: #000088;">$pager</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Pager<span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//set the url. this is the current page</span>
<span style="color: #000088;">$pager</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'index.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//set number of rows. by default it is 10</span>
<span style="color: #000088;">$pager</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">rowPerPage</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//build the pager</span>
<span style="color: #000088;">$pager</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">build</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//get paged data</span>
<span style="color: #000088;">$rows</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$pager</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getPagedData</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Click the download link given below for a copy of the class. It also includes an working example.</p>
<p><a href="http://sajjadhossain.com/wp-content/uploads/2008/04/pager.rar#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="Pager - Paging class for PHP and MySQL"><img src="http://sajjadhossain.com/wp-content/uploads/2008/01/download.gif" alt="Download" border="0" title="Paging Class using PHP and MySQL" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F04%2F24%2Fpaging-class-using-php-and-mysql%2F&amp;linkname=Paging%20Class%20using%20PHP%20and%20MySQL"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://sajjadhossain.com/2008/03/09/paging-using-php-and-mysql/' rel='bookmark' title='Permanent Link: Paging using PHP and MySQL'>Paging using PHP and MySQL</a></li>
<li><a href='http://sajjadhossain.com/2008/07/15/cpanel-class-for-creating-email-account-and-mail-forwarder/' rel='bookmark' title='Permanent Link: cPanel: Class for creating email account and mail forwarder'>cPanel: Class for creating email account and mail forwarder</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/04/24/paging-class-using-php-and-mysql/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>XAMPP &#8211; Sending test mails with MercuryMail</title>
		<link>http://sajjadhossain.com/2008/01/28/xampp-sending-test-mails-with-mercurymail/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/01/28/xampp-sending-test-mails-with-mercurymail/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 16:33:08 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[mercury]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/?p=19</guid>
		<description><![CDATA[XAMPP comes with MercuryMail. To use it for sending test mails, you can do the followings: 1. Start Mercury Mail from XAMPP control panel. 2. Navigate to Mercury Mail folder in XAMPP installation (Most probably C:\Program Files\xampp\MercuryMail) 3. Double click on mercury.exe and Mercury window will be opened. 4. Go to Configuration -&#62; Local Users [...]


Related posts:<ol><li><a href='http://sajjadhossain.com/2008/01/28/xampp-my-favorite-php-environment/' rel='bookmark' title='Permanent Link: XAMPP &#8211; My favorite PHP environment'>XAMPP &#8211; My favorite PHP environment</a></li>
<li><a href='http://sajjadhossain.com/2008/02/25/enabling-curl-in-xampp/' rel='bookmark' title='Permanent Link: Enabling cURL in XAMPP'>Enabling cURL in XAMPP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>XAMPP comes with MercuryMail. To use it for sending test mails, you can do the followings:</p>
<p>1. Start Mercury Mail from XAMPP control panel.<br />
2. Navigate to Mercury Mail folder in XAMPP installation (Most probably C:\Program Files\xampp\MercuryMail)<br />
3. Double click on mercury.exe and Mercury window will be opened.<br />
4. Go to Configuration -&gt; Local Users<br />
5. Add a user with password (Suppose sajjad)<br />
6. Close this window.</p>
<p>That&#8217;s it.</p>
<p>Now you can send mail to <a href="mailto:sajjad@localhost#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">sajjad@localhost</a> or <a href="mailto:sajjad@localhost.com#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">sajjad@localhost.com</a> (Mecury Mail should be started).</p>
<p>To receive mail configure outlook express with localhost as pop3 and SMTP server.</p>
<p>Hope these information will be helpful.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F01%2F28%2Fxampp-sending-test-mails-with-mercurymail%2F&amp;linkname=XAMPP%20%26%238211%3B%20Sending%20test%20mails%20with%20MercuryMail"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://sajjadhossain.com/2008/01/28/xampp-my-favorite-php-environment/' rel='bookmark' title='Permanent Link: XAMPP &#8211; My favorite PHP environment'>XAMPP &#8211; My favorite PHP environment</a></li>
<li><a href='http://sajjadhossain.com/2008/02/25/enabling-curl-in-xampp/' rel='bookmark' title='Permanent Link: Enabling cURL in XAMPP'>Enabling cURL in XAMPP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/01/28/xampp-sending-test-mails-with-mercurymail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XAMPP &#8211; My favorite PHP environment</title>
		<link>http://sajjadhossain.com/2008/01/28/xampp-my-favorite-php-environment/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://sajjadhossain.com/2008/01/28/xampp-my-favorite-php-environment/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 16:21:10 +0000</pubDate>
		<dc:creator>Mohammad Sajjad Hossain</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[mercury mail]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://sajjadhossain.com/?p=17</guid>
		<description><![CDATA[When I started coding in PHP, the main hassle was preparing the development environment. Installing Apache, PHP, MySQL was not so easy. Then I came across PHPTried and after that WAMPP. But finally I got what I wanted &#8211; XAMPP. To me XAMPP is a total PHP development environment. XAMPP is an easy to install [...]


Related posts:<ol><li><a href='http://sajjadhossain.com/2008/01/28/xampp-sending-test-mails-with-mercurymail/' rel='bookmark' title='Permanent Link: XAMPP &#8211; Sending test mails with MercuryMail'>XAMPP &#8211; Sending test mails with MercuryMail</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.apachefriends.org" title="XAMPP - Apache friends"><img src="http://sajjadhossain.com/wp-content/uploads/2008/01/xampp.gif" alt="XAMPP" title="XAMPP   My favorite PHP environment" /></a></p>
<p>When I started coding in PHP, the main hassle was preparing the development environment. Installing Apache, PHP, MySQL was not so easy. Then I came across PHPTried and after that WAMPP. But finally I got what I wanted &#8211; XAMPP. To me XAMPP is a total PHP development environment.</p>
<blockquote><p>XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use &#8211; just download, extract and start.</p></blockquote>
<p>To get a copy of XAMPP, visit <a href="http://www.apachefriends.org/">http://www.apachefriends.org/</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fsajjadhossain.com%2F2008%2F01%2F28%2Fxampp-my-favorite-php-environment%2F&amp;linkname=XAMPP%20%26%238211%3B%20My%20favorite%20PHP%20environment"><img src="http://sajjadhossain.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>

<p>Related posts:<ol><li><a href='http://sajjadhossain.com/2008/01/28/xampp-sending-test-mails-with-mercurymail/' rel='bookmark' title='Permanent Link: XAMPP &#8211; Sending test mails with MercuryMail'>XAMPP &#8211; Sending test mails with MercuryMail</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://sajjadhossain.com/2008/01/28/xampp-my-favorite-php-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
