Generate QR code image and pass it to view |
[eluser]Fyodor[/eluser]
Hello I am trying to generate QR code image in PHP and pass it to view. Is it possible? E.g.: I call php function through ajax: Code: url: base_url+"ajax_controller/"+phpMethodName, Code: <?php I used qr code library from this link https://github.com/dwisetiyadi/CodeIgniter-PHP-QR-Code My idea was to write qrcode image into $result['image'] and pass it to view through ajax. But something is wrong, I am not able to write image into $result... I don't want to create new file and save it on my server for each qr code generation. Is it possible to generate qr code image on fly and use this image in my view after? Or may be the best way is generate QR code image using jquery plugins, not on server side? regards, Fyodor |
Messages In This Thread |
Generate QR code image and pass it to view - by El Forum - 09-22-2013, 06:22 AM
Generate QR code image and pass it to view - by El Forum - 11-25-2013, 07:25 PM
Generate QR code image and pass it to view - by El Forum - 11-27-2013, 11:38 AM
|