<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>PDF Won't Generate</title>
        <description>Hi Guys,
I have the API script set up on my server and have tried it with an actual report and with a simple text of &amp;quot;Test&amp;quot; but all I get is a blank page. CURL is installed on the server and is working but all I get is a blank page. Here's the code I am using:


&amp;lt;?
include('includes/classes/pdfcrowd.php');

$reportData = &amp;quot;Test&amp;quot;;
$client = new Pdfcrowd('*MY_USERNAME*', '*MY_API_KEY*');
try {
    $client-&amp;gt;convertHtml($reportData);
}
catch(PdfcrowdException $e) {
    echo $e-&amp;gt;getMessage();
}

?&amp;gt;

Any idea what I can do to fix this?</description>
        <link>http://pdfcrowd.com/forums/read.php?3,143,143#msg-143</link>
        <lastBuildDate>Sat, 25 May 2013 15:42:18 -0400</lastBuildDate>
        <generator>Phorum 5.2.14</generator>
        <item>
            <guid>http://pdfcrowd.com/forums/read.php?3,143,145#msg-145</guid>
            <title>Re: PDF Won't Generate</title>
            <link>http://pdfcrowd.com/forums/read.php?3,143,145#msg-145</link>
            <description><![CDATA[That did it thanks!]]></description>
            <dc:creator>spyke01</dc:creator>
            <category>Pdfcrowd Support Forum</category>
            <pubDate>Sun, 17 Oct 2010 17:35:52 -0400</pubDate>
        </item>
        <item>
            <guid>http://pdfcrowd.com/forums/read.php?3,143,144#msg-144</guid>
            <title>Re: PDF Won't Generate</title>
            <link>http://pdfcrowd.com/forums/read.php?3,143,144#msg-144</link>
            <description><![CDATA[Try this:<br />
<br />
<pre class="bbcode">
try {
    header('Content-type: application/pdf');
    header('Content-Disposition: attachment; filename=&quot;test.pdf&quot;');
    echo $client-&gt;convertHtml($reportData);
}
</pre>]]></description>
            <dc:creator>support</dc:creator>
            <category>Pdfcrowd Support Forum</category>
            <pubDate>Sat, 16 Oct 2010 12:42:07 -0400</pubDate>
        </item>
        <item>
            <guid>http://pdfcrowd.com/forums/read.php?3,143,143#msg-143</guid>
            <title>PDF Won't Generate</title>
            <link>http://pdfcrowd.com/forums/read.php?3,143,143#msg-143</link>
            <description><![CDATA[Hi Guys,<br />
I have the API script set up on my server and have tried it with an actual report and with a simple text of &quot;Test&quot; but all I get is a blank page. CURL is installed on the server and is working but all I get is a blank page. Here's the code I am using:<br />
<br />
<pre class="bbcode">
&lt;?
include('includes/classes/pdfcrowd.php');

$reportData = &quot;Test&quot;;
$client = new Pdfcrowd('*MY_USERNAME*', '*MY_API_KEY*');
try {
    $client-&gt;convertHtml($reportData);
}
catch(PdfcrowdException $e) {
    echo $e-&gt;getMessage();
}

?&gt;</pre>
<br />
Any idea what I can do to fix this?]]></description>
            <dc:creator>spyke01</dc:creator>
            <category>Pdfcrowd Support Forum</category>
            <pubDate>Sat, 16 Oct 2010 11:28:55 -0400</pubDate>
        </item>
    </channel>
</rss>
