PHP Classes

File: libs/mPDF/qrcode/image.php

Recommend this page to a friend!
  Classes of Laudir Bispo   PHP Real Estate Website   libs/mPDF/qrcode/image.php   Download  
File: libs/mPDF/qrcode/image.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Real Estate Website
Manage the properties of a real estate business
Author: By
Last change:
Date: 3 years ago
Size: 370 bytes
 

Contents

Class file image Download
<?php
    $msg
= isset($_GET['msg']) ? $_GET['msg'] : '';
    if (!
$msg) $msg = "Le site du spipu\r\nhttp://spipu.net/";


   
$err = isset($_GET['err']) ? $_GET['err'] : '';
    if (!
in_array($err, array('L', 'M', 'Q', 'H'))) $err = 'L';
   
    require_once(
'qrcode.class.php');
   
   
$qrcode = new QRcode(utf8_encode($msg), $err);
   
$qrcode->disableBorder();
   
$qrcode->displayPNG(200);
?>