Search
 
SCRIPT & CODE EXAMPLE
 

PHP

How to add logo in FPDF PHP

<?php
require('fpdf.php');

class PDF extends FPDF
{
	/* Page header */
	function Header()
	{
		/* Logo */
		$this->Image('logo.png',10,6,30);

	}
}

/* Instanciation of inherited class */
$pdf = new PDF();
$pdf->AliasNbPages();
$pdf->AddPage();
$pdf->SetFont('Times','',12);
$pdf->Output();
?>
Comment

PREVIOUS NEXT
Code Example
Php :: wordpress not logging when using ngrok 
Php :: image downlord 
Php :: learnpress wordpress plugin shortcode 
Php :: laravel-filemanager 404 error 
Php :: laravel collection flip 
Php :: upload and view pdf file in php 
Php :: enfold remove debugging info for theme support 
Php :: laravel route group within a group 
Php :: laravel create multiple rows 
Php :: Target class [LoginController] does not exist. 
Php :: split php 
Php :: remove index.php 
Php :: what is is_null in php 
Php :: php get screen width 
Php :: undefined reference to 
Php :: artisan command to add resources to controller 
Php :: how to host a php server 
Php :: serialise php 
Php :: php wordpress 
Php :: tackel discount in javascript 
Java :: how to detect operating system in java 
Java :: spigot get player from uuid 
Java :: minecraft bedrock save location 
Java :: java get excectuon time 
Java :: java double to long 
Java :: processing string to int 
Java :: java lerp 
Java :: How can I put a parameter into a localized string in Android? 
Java :: java random between 
Java :: how to set frame colo in java 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =