<?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 : Newbie, need help with PHP</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 : I need help - I can help : Newbie, need help with PHP]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 06:02:11 +0000</pubDate>
  <lastBuildDate>Wed, 04 Apr 2012 04:13:02 +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=2206</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[Newbie, need help with PHP :   You need to check the return...]]></title>
   <link>http://www.quickpdf.org/forum/newbie-need-help-with-php_topic2206_post9420.html#9420</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2206<br /><strong>Posted:</strong> 04 Apr 12 at 4:13AM<br /><br /><div><br></div><div>You need to check the return value from LoadFromFile - if it returns 0 then it will point to a different problem.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Wed, 04 Apr 2012 04:13:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/newbie-need-help-with-php_topic2206_post9420.html#9420</guid>
  </item> 
  <item>
   <title><![CDATA[Newbie, need help with PHP : Hi Hans!This (in Delphi) should...]]></title>
   <link>http://www.quickpdf.org/forum/newbie-need-help-with-php_topic2206_post9403.html#9403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2206<br /><strong>Posted:</strong> 02 Apr 12 at 1:40PM<br /><br />Hi Hans!<br><br>This (in Delphi) should be enough to get the pagecount:<br>&nbsp; try<br>&nbsp;&nbsp;&nbsp; QP := TQuickPDF0814.Create; <br>&nbsp;&nbsp;&nbsp; try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Result1 := QP.UnlockKey(LicenseKey);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Result2 := QP.LoadFromFile(FileName);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; paco := QP.PageCount;<br>//&nbsp;&nbsp;&nbsp;&nbsp; . . .<br>&nbsp;&nbsp;&nbsp; finally<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QP.Free;<br>&nbsp;&nbsp;&nbsp; end;<br><br>I think that it's senseless to remove a document if<br>there's only one (mostly that's it) document inside a<br>pdf.<br><br>The other thing: The function calls "SelectDocument" ;-)<br><br>You should have a look inside the online tutorials on<br>the official supportpages starting at www.QuickPDF.org...<br><br>Cheers and welcome here,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Mon, 02 Apr 2012 13:40:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/newbie-need-help-with-php_topic2206_post9403.html#9403</guid>
  </item> 
  <item>
   <title><![CDATA[Newbie, need help with PHP : Hello,I have downloaded QuickPDFLibrary...]]></title>
   <link>http://www.quickpdf.org/forum/newbie-need-help-with-php_topic2206_post9397.html#9397</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1903">hawkmaster</a><br /><strong>Subject:</strong> 2206<br /><strong>Posted:</strong> 01 Apr 12 at 6:55PM<br /><br />Hello,<br>I have downloaded QuickPDFLibrary QuickPDFAX0814 and tried to split a pdf like in the Developers guide.<br>Problem is. Total Pages shows only 1 instead of 31 pages of the PDF file.<br>Next is a crash with DocumentRemove: <br>com-&gt;RemoveDocument(1476395008)<br>Description:&lt;/b&gt; List index out of bounds (1)'<br><br>&nbsp;&nbsp;&nbsp; $qp1 = new COM("QuickPDFAX0814.PDFLibrary");<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; $pdfsource = $file_name;<br>&nbsp;&nbsp;&nbsp; $qp1-&gt;LoadFromFile($pdfsource,"");<br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; // Use the SelectedDocument function to get the<br>&nbsp;&nbsp;&nbsp; // document ID of the file that we just loaded.<br>&nbsp;&nbsp;&nbsp; $DocID = $qp1-&gt;SelectedDocument();<br>&nbsp;&nbsp;&nbsp; // Count the total number of pages in the<br>&nbsp;&nbsp;&nbsp; // selected document. We need the total<br>&nbsp;&nbsp;&nbsp; // number of pages before we can use the<br>&nbsp;&nbsp;&nbsp; // ExtractFilePages function.<br>&nbsp;&nbsp;&nbsp; $TotalPages = $qp1-&gt;PageCount();<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; echo "total pages ist $TotalPages &lt;br&gt;";<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; // Remove the selected document from memory.<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; $qp1-&gt;RemoveDocument($DocID);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; //QP.RemoveDocument(DocID);<br>&nbsp;&nbsp;&nbsp; // Loop through each page in the document<br>&nbsp;&nbsp;&nbsp; // and use the ExtractFilePages function<br>&nbsp;&nbsp;&nbsp; // to copy and save each page in the<br>&nbsp;&nbsp;&nbsp; // document to a new document.<br>&nbsp;&nbsp;&nbsp; for ( $n = 1; $n &lt; $TotalPages; $n++)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo "schleife $n &lt;br&gt;";<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $qp1-&gt;ExtractFilePages($pdfsource, "sample_split_" + Convert.ToString(n) + ".pdf", Convert.ToString(n));<br>&nbsp;&nbsp;&nbsp; }<br><br>Can anybody helpme or give me some exampes?<br><br>kind regards<br>Hans<br>]]>
   </description>
   <pubDate>Sun, 01 Apr 2012 18:55:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/newbie-need-help-with-php_topic2206_post9397.html#9397</guid>
  </item> 
 </channel>
</rss>