PHP – PDF Generator

FPDF – PDF Generation FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs. fPDF Tutorial – Sample Code :- require(‘fpdf/fpdf.php’); $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont(‘Arial’,’B’,16); $pdf->Cell(40,10,’Hello World!’); $pdf->Output();

Read More

How to add and view tasks in Cron Job ?


Add / View – Cron Jobs Servers can automatically perform tasks that you would otherwise have to perform yourself, such as running scripts. On Linux servers, the cron utility is the preferred way to automate the running of scripts. In this article we’ll cover how to view the jobs scheduled in the crontab list View Cron Job Lists crontab -l View Cron Job Lists for Selected User crontab -u <<User Name>> -l SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # For details see man 4 crontabs # Example of job definition: # .—————- minute (0 – 59)…

Read More

How to test mobile speed performance ?

Test mobile speed performance :- Google Page Speed Page Speed Insights indicates whether your site page’s code reflects standard best practices. It fetches the url with a mobile user-agent and identifies issues such as large images, render-blocking JS, and lack of browser caching. The PageSpeed Score ranges from 0 to 100 points. A higher score is better and a score of 85 or above indicates that the page adheres well to best practices. Web page Test WebPageTest helps you deepdive into issues affecting load time. You can simulate many device…

Read More