<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : PHP sample code</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : Sample Code : PHP sample code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 11 May 2026 22:13:35 +0000</pubDate>
  <lastBuildDate>Sun, 14 Dec 2014 01:12:50 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=1079</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[PHP sample code : Hi RowanI know it&amp;#039;s been...]]></title>
   <link>http://www.quickpdf.org/forum/php-sample-code_topic1079_post12208.html#12208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2663">panner</a><br /><strong>Subject:</strong> 1079<br /><strong>Posted:</strong> 14 Dec 14 at 1:12AM<br /><br />Hi Rowan<br /><br />I know it's been awhile since you posted this code example.. Has the Quick Basic Library changed in how this could be done. I've tried your example in XAMPP and I can't get the code to run. <br /><br />It stops and the error code says it can't locate the Quick PDF Library DLL "Fatal error: Class 'COM' not found in C:\xampp\htdocs\QBpdf\index.php on line 7" <br /><br />I've registered the DLL's and entered my "key" and I've tried this with two dlls -- QuickPDFAX0815.dll and DebenuPDFLibraryAX0911.dll<br /><br />Any help or guidance would help.... <br /><br />Ron]]>
   </description>
   <pubDate>Sun, 14 Dec 2014 01:12:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/php-sample-code_topic1079_post12208.html#12208</guid>
  </item> 
  <item>
   <title><![CDATA[PHP sample code : Some basic PHP code that might...]]></title>
   <link>http://www.quickpdf.org/forum/php-sample-code_topic1079_post5041.html#5041</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 1079<br /><strong>Posted:</strong> 06 May 09 at 8:20PM<br /><br />Some basic PHP code that might be useful for anyone who wants to use Quick PDF Library with PHP. Full instructions on how to get setup with PHP and Quick PDF can be <a href="http://www.quickpdflibrary.com/blog/2009/05/pdf-web-apps-with-quick-pdf-library-and-php/" target="_blank">found here</a>.<br /><br />&lt;?php<br />$fileName = “DrawText.pdf”;<br />$qp = new COM(”QuickPDFAX0713.PDFLibrary”);<br />$validKey = $qp-&gt;UnlockKey(”…”);<br />if ($validKey == 1)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “License validation successful!”;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “&lt;br /&gt;”;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “Valid license key: “;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo $qp-&gt;LicenseInfo;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “&lt;br /&gt;”;<br />}<br />else<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “License validation failed!”;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “&lt;br /&gt;&lt;br /&gt;”;<br />}<br />$qp-&gt;DrawText(100, 500, “Hello World!”);<br />$result = $qp-&gt;SaveToFile($fileName);<br />if ($result == 1)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “File was successfully saved to disk.”;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “&lt;br /&gt;&lt;br /&gt;”;<br />}<br />else<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “File could not be saved to disk.”;<br />&nbsp;&nbsp;&nbsp;&nbsp;echo “&lt;br /&gt;&lt;br /&gt;”;<br />}<br />$qp = null;<br />?&gt;]]>
   </description>
   <pubDate>Wed, 06 May 2009 20:20:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/php-sample-code_topic1079_post5041.html#5041</guid>
  </item> 
 </channel>
</rss>