<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3699860341625247755</id><updated>2011-04-21T21:44:34.128-07:00</updated><title type='text'>DhrubaJyoti Dey</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dhrubajyoti-john.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3699860341625247755/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dhrubajyoti-john.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>DJ</name><uri>http://www.blogger.com/profile/03218101983831217000</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3699860341625247755.post-3648227800057267601</id><published>2007-11-27T00:36:00.000-08:00</published><updated>2007-11-27T01:21:12.591-08:00</updated><title type='text'>How to Creat PDF file in PHP while Submit the Form</title><content type='html'>First open &lt;a href="http://fpdf.org/"&gt;fpdf.org&lt;/a&gt;  and Download Zip of class file in your System.&lt;br /&gt;UnZip  the download files in folder and rename the folder  "fpdf ".&lt;br /&gt;&lt;br /&gt;Put this folder in the Server[in your application folder] from where it will be call.&lt;br /&gt;fpdf.php file  is the Key file of this total process. All class are written  in this File.&lt;br /&gt;so Be careful about it.&lt;br /&gt;&lt;br /&gt;now in your PHP code .......  in the file where want to show this PDF file.&lt;br /&gt;In &lt;span style="font-style: italic;"&gt;Demo.php&lt;br /&gt;&lt;?php&lt;br /&gt;    if ($_REQUEST['submit'] == "submit")&lt;br /&gt;            {&lt;br /&gt;               # hear   you can put  what ever code you want ..........................&lt;br /&gt;                #&lt;br /&gt;                # Now for PDF  creation you have to put this code.....&lt;br /&gt;&lt;br /&gt;                require('fpdf.php');&lt;br /&gt;                    class PDF extends FPDF&lt;br /&gt;                    {&lt;br /&gt;                    }&lt;br /&gt;                        //Instanciation of inherited class&lt;br /&gt;                    $pdf=new PDF();&lt;br /&gt;                    $pdf-&gt;AliasNbPages();&lt;br /&gt;                    $pdf-&gt;AddPage();&lt;br /&gt;                    $pdf-&gt;SetFont('Times','',12);&lt;br /&gt;                         $pdf-&gt;cell(40,10,'Hello I am checking ');&lt;br /&gt;                         $pdf-&gt;Output();&lt;br /&gt;?&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;Now for some help to show Images in PDF and  Put some&lt;br /&gt; Text on above the images or any part of the PDF.&lt;br /&gt;&lt;br /&gt;What ever Picture or Images you want to put do it first.&lt;br /&gt;&lt;br /&gt;$pdf-&gt;Image('images/BackGround.JPG',1,150,200);&lt;br /&gt;1 - is left margin.&lt;br /&gt;150- upper margin.&lt;br /&gt;200- size of Image.&lt;br /&gt;For &lt;span style="font-weight: bold;"&gt;linux&lt;/span&gt; server be careful in Images Extantion.&lt;br /&gt;&lt;br /&gt;If  you want to take gap of lines....&lt;br /&gt;$pdf-&gt;Ln(1); ----  This is for one line gap.&lt;br /&gt;&lt;br /&gt;To  print  value which come through  &lt;span style="font-weight: bold;"&gt;POST&lt;/span&gt;&lt;br /&gt;$pdf-&gt;Write(0,$_POST['User_Name']);&lt;br /&gt;&lt;br /&gt;Through those You can easily create PDF file through PHP&lt;br /&gt; from the value of the form when we Submit.&lt;br /&gt;&lt;br /&gt;Thank You.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3699860341625247755-3648227800057267601?l=dhrubajyoti-john.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dhrubajyoti-john.blogspot.com/feeds/3648227800057267601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3699860341625247755&amp;postID=3648227800057267601' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3699860341625247755/posts/default/3648227800057267601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3699860341625247755/posts/default/3648227800057267601'/><link rel='alternate' type='text/html' href='http://dhrubajyoti-john.blogspot.com/2007/11/how-to-creat-pdf-file-in-php-while.html' title='How to Creat PDF file in PHP while Submit the Form'/><author><name>DJ</name><uri>http://www.blogger.com/profile/03218101983831217000</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3699860341625247755.post-4272491796397247527</id><published>2007-10-01T23:50:00.000-07:00</published><updated>2007-10-02T00:13:47.017-07:00</updated><title type='text'>DhrubaJyoti Dey</title><content type='html'>Welcome to DJ World.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3699860341625247755-4272491796397247527?l=dhrubajyoti-john.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dhrubajyoti-john.blogspot.com/feeds/4272491796397247527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3699860341625247755&amp;postID=4272491796397247527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3699860341625247755/posts/default/4272491796397247527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3699860341625247755/posts/default/4272491796397247527'/><link rel='alternate' type='text/html' href='http://dhrubajyoti-john.blogspot.com/2007/10/dhrubajyoti-dey.html' title='DhrubaJyoti Dey'/><author><name>DJ</name><uri>http://www.blogger.com/profile/03218101983831217000</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
