Menu

Error on-fly image generation

Help
WaltZie
2012-02-28
2013-04-25
  • WaltZie

    WaltZie - 2012-02-28

    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

     
  • Anonymous

    Anonymous - 2012-03-06

    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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.