<?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>Saturngod &#187; PDF</title>
	<atom:link href="http://en.saturngod.net/tag/pdf/feed" rel="self" type="application/rss+xml" />
	<link>http://en.saturngod.net</link>
	<description>My Idea My Life</description>
	<lastBuildDate>Fri, 30 Jul 2010 16:55:32 +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>PDF with PHP</title>
		<link>http://en.saturngod.net/blogpost/pdf-with-php</link>
		<comments>http://en.saturngod.net/blogpost/pdf-with-php#comments</comments>
		<pubDate>Thu, 27 Aug 2009 14:23:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Today, my friend ask me &#8220;I have a error in my webserver. It&#8217;s OK in localhost. It doesn&#8217;t show error when I uploaded. Can you check for me ?&#8221; I check his code and he is using PDFLib and written by PHP 4. I ask hime &#8220;What version of PHP use in your web server [...]]]></description>
			<content:encoded><![CDATA[<p>Today, my friend ask me &#8220;I have a error in my webserver. It&#8217;s OK in localhost. It doesn&#8217;t show error when I uploaded. Can you check for me ?&#8221; I check his code and he is using PDFLib and written by PHP 4. I ask hime &#8220;What version of PHP use in your web server ? It&#8217;s using PHP 5.Oh! That is a problem because your are written by PDFLib PHP 4 version. You should change to version 5.&#8221;</p>
<p>&#8220;Oh! PDFLib is not free.Free for personal and not for comerical.&#8221; So I adivce him to use ဿ<a href="http://www.fpdf.org/" target="_blank">FPDF</a>. I love FPDF because we can use include function and we call it. If you use PDFLib, you should add .dll or lib in php.ini. So, I use FPDF. You can download package and it also include tutorial in tutorial folder.</p>
<p>Same Code are here<br />[sourcecode lang="php"]<br />&lt;?php<br />require(&#8216;../fpdf.php&#8217;);</p>
<p>$pdf=new FPDF();<br />$pdf-&gt;AddPage();<br />$pdf-&gt;SetFont(&#8216;Arial&#8217;,'B&#8217;,16);<br />$pdf-&gt;Cell(40,10,&#8217;Hello World!&#8217;);<br />$pdf-&gt;Cell(40,20,&#8217;TESTING&#8217;);<br />$pdf-&gt;Output();<br />?&gt;<br />[/sourcecode]</p>
]]></content:encoded>
			<wfw:commentRss>http://en.saturngod.net/blogpost/pdf-with-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
