Hi, this library is great, but i've just find an error using on-fly image generation.
My enviroment is XAMPP and the script used is the following:
<?php include "common/php/phpqrcode/qrlib.php"; QRcode::png('PHP QR Code :)'); ?>
the output contain an Caridge-Return at beginning that make wrong the image.
Can you check it plese?
Thanks 1 Milion
WaltZie
You could apply a trim() against the string prior to throwing the string at function:
http://us3.php.net/trim
Log in to post a comment.
Hi,
this library is great, but i've just find an error using on-fly image generation.
My enviroment is XAMPP and the script used is the following:
<?php
include "common/php/phpqrcode/qrlib.php";
QRcode::png('PHP QR Code :)');
?>
the output contain an Caridge-Return at beginning that make wrong the image.
Can you check it plese?
Thanks 1 Milion
WaltZie
You could apply a trim() against the string prior to throwing the string at function:
http://us3.php.net/trim