PDF from Database using FPDF

This solutions came to my mind when i was asked to allow registrar to create student certificates online when they were using the school's local website - similar to TISS certificate generator - i used the free FPDF library which is a PHP class which allows to generate PDF files with pure PHP - the aim is to allow the registrar of school to be able to take the student’s id and course id and generate the student's certificate for a course - the main aim is to show how the class is used in a simple and easy way for use in a small scale - There are two files. The first file, the user inputs the student id and course id and hits create certificate. The file points to the fpdf file that goes and creates a pdf file and displays the certificate


One tool to solve this task is Limesurvey. It is open source and written in PHP.
The survey data is saved into a MySQL-database.

*) To install Limesurvey on the webspace provided it is sufficient to unpack it into the appropriate folder and run the setup script.
*) Then you have to create a MySQL-database, the TU provides a web interface for that.
*) The username, password for the Database have to written into the configuration file of Limesurvey. The easiest way for that is to log in via ssh and use a text editor like nano.
*) Limesurvey also needs to keep track of user sessions. Usually it creates temporary files for that but the permissions on the server don't allow that. Therefore you have to change this so Limesurvey saves the session data into the database.

You can create your survey now.



In another lecture we needed to write a business plan. A core aspect of this was to estimate the size the potential market for our product. So we needed a tool to conduct an online survey but we were not willing to spend any money on it. We could use the resources of the university. The survey tool should allow us to create a survey and test it first. Then we wanted to be able to adapt the survey to the feedback we got. The user interface should be easy to use, both for the people who create the survey and those who answer it. Since the survey was quite complicated and some questions build on others it is not necessary that everyone answers every question. The tool we were looking for should allow for some rules that describe who has to answer which question. Furthermore we needed to get the results of the survey. So the tool should have an export function to save the collected data in a useful file format. It is also helpful if incomplete or implausible data can be filtered. Other features like creating charts from the data is considered a bonus.


Application inaccessible from my country

<p>&nbsp;</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">There is so much<strong> free stuff </strong>on the web such as web tv However, I live in Austria and the service is <strong>only</strong> allowed (legal issue) to be used in set of <strong>countries</strong> such as <strong>Switzerland</strong>.</p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px;">&nbsp;</p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">But it's even worse. The most favoured austrian, german and swiss TV channels are all accessible for free. It would be a <strong>cheap</strong> and <strong>flexible</strong> <strong>alternative</strong> to many cable TV providers .. This provides high quality service at no cost with more channels than my static cable provider..&nbsp;</p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px;">&nbsp;</p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">Is there a possiblity to access such services without changing the overall surfing performance and experience dramatically (all other services should work as before with the same browser)? It would be my wish to continue as before but to add the blocked functionality to my serving habits ;)</p><p>&nbsp;</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">If possible, the solution should be <strong>f</strong><strong>ree or cheap</strong>.. ;)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">&nbsp;</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">(There are other services like web mail that are sometimes limited to US customers as well.. there are probably a lot of other restrictions for other services)</p>
Subscribe to free