Skip to content
Snippets Groups Projects
Commit 2d609f86 authored by Lucio Zambon's avatar Lucio Zambon
Browse files

Update qr.php

parent d13b5426
No related branches found
No related tags found
No related merge requests found
<?php
// https://sourceforge.net/projects/phpqrcode/
include "./phpqrcode.php";
if (empty($_REQUEST['data'])) die('ERROR, empty data.');
$data = $_REQUEST['data']-0;
if (empty($data)) die('ERROR, empty data, '.$data);
QRcode::png("https://puma-01.elettra.eu/panther/speech/talk.php?d=$data&host=".substr($_REQUEST['host'],9,20), false, 'H', 8, 2);
QRcode::png("https://puma-01.elettra.eu/panther/speech/talk.php?d=$data&host=".substr($_REQUEST['host'],0,20), false, 'H', 8, 2);
exit();
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment