Category Archives: PHP

In this Category I want to post all topic which are related to PHP

Include your family tree in your webpage

Yesterday I’ve posted for all interested genealogists and webmaster, how they can create a database out of their gedcom file. But how you can display this information on your website?

In this post I want to explain, how I do this and share you my PHP code for free to use it on your website. I only please you for let my link in the code, that I have also something out from it. Continue reading “Include your family tree in your webpage” »

Print Friendly, PDF & Email

Create thumbnail from image with PHP

Everybody who has a webpage where it is possible to upload images (for example a member picture for member profile) knows this problem: Digital cameras in these days creates pictures with high resolution but also with a big file size. Most pages forbid to upload pictures like this and restrict the size of the picture files.

You can create a good workaround for that. One version is to store the original file and create an additional thumbnail, the other way is, to store only the thumbnail, if you have less space on your webserver. Continue reading “Create thumbnail from image with PHP” »

Print Friendly, PDF & Email

PDF creation by PHP

I tried a lot to create PDF files by using PHP frameworks. For Java I’m using iText, but there is no interface to use iText by a PHP server. So I googled a lot and there are several frameworks to create these files. I tried them all an my opinion is, that domPDF is the best one, becase it is the easiest of all to use.

To create a PDF by domPDF, I only have to create a normal HTML page. This page I have to give to the renderer of domPDF and this renderer creates a PDF file out of this HTML code which is a one to one copy of the HTML page. Continue reading “PDF creation by PHP” »

Print Friendly, PDF & Email