FPDF display blank page

Posted on 2006-05-04
Medium Priority
Last Modified: 2012-05-05

     I tried to display simple script like below

$pdf=new FPDF();
$pdf->Cell(40,10,'Hello World!');
But as result, it display blank page. I read FAQ from FPDF sites but seems not work at all. Please help.

Question by:MNCW2
  • 2
LVL 49

Expert Comment

ID: 16612534
Try removing the @ before the require and add:



Author Comment

ID: 16612549
Still doesn't work :(
LVL 49

Accepted Solution

Roonaan earned 1500 total points
ID: 16612576
Sometimes when testing you need to add some random parameter, like: testfpdf.php?random=1 to prevent your page from being cached by your browser.
Although this sounds silly (it is), it is just a guess as you aren't receiving any error messages.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question