dwisetiyadi / codeigniter-php-qr-code Goto Github PK
View Code? Open in Web Editor NEWa PHP Library to create QR Code. This is a porting library for CodeIgniter Framework, original code from http://phpqrcode.sourceforge.net/.
a PHP Library to create QR Code. This is a porting library for CodeIgniter Framework, original code from http://phpqrcode.sourceforge.net/.
i want save qr image to sub directory, i change $params['savename'] = FCPATH.'tes.png' to
$params['savename'] = base_url('qr').'tes.png'
but i receipe notif
Message: imagepng(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0
Hello there,
This Library is awesome.
It's work fine in localhost with CodeIgniter 3x
but when I upload this to live server I face this problem ...
Codeigniter unable to load this library and show me the error "Unable to load the requested class: Ciqrcode".
here is screenshot http://prntscr.com/fxzlnm
I can not figure out what should I do now.
I have been tried every thing I know about CodeIgniter 3x.
Can you help me ?
thank you
Hello, i want to redirect from url after scanning the qrcode, how to add url to the $params please ?
thank you
How do I use your library in CI4? Can you please give me the steps or examples?
How do I switch from qrcode to 2d-barcode output?
Thanks!
Thanks for this useful library of features. We'd like to know how we can any of the 2 colours of any generated QR-code transparent.
Will passing an RGBA code to the config
array work?
When in the index.php of CI the path to the application is changed
$application_folder = 'new_applicationfolder';
An error occured in file Ciqrcode at position 18
changing the entry to
var $errorlog = 'new_applicationfolder/logs/'; problem is solved.
Can the code be altered to a dynamic var that follows the global change?
I want to add label under Qr Code . is that possible with that library ?
How can I scan QR CODE?
How to get image in binary form from controller ?
I used below code in controller but Image is not correct ?
$this->load->library('ciqrcode');
//$qrCodeObj = new Ciqrcode();
$params['data'] = 'VON';
$params['level'] = 'H';
$params['size'] = 10;
$filename = rand(100, 20000).'.png';
//$params['savename'] = '';
ob_start();
$this->ciqrcode->generate($params);
$imageString = base64_encode( ob_get_contents() );
ob_end_clean();
//use $imageString for further use
This code working without codeIgnitor using (phpqrcode library) but in codeIgnitor its not working. Please suggest how to get binary image data using this library.
sir thanks for awesome library, i have face a problome. can i place an image in the center of qr code?
thanks in advance
I get this error -- >
Fatal error: Call to undefined method Qrcode::png() in C:\xampp\htdocs_CI\application\libraries\Ciqrcode.php on line 101
how I can resolve this? sorry I'm just newbie
Fatal error: Call to undefined function ImageCreate() in on server
Great library! ;-)
Would be great to have a feature for creating a SVG version (see http://sourceforge.net/projects/phpqrcode/forums/forum/1111884/topic/4785545)
Maybe incorporate the basic function like making color options, and logo placement options...
Just some ideas on how to make this great library even better!
hi,
It would be nice if QR code "versions" where supported (http://en.wikipedia.org/wiki/QR_code#Storage).
Currently it looks like it can only go down to version 2 (25x25), I would really like to see this nice Library be able to go all the way down to version 1 (21x21), maybe this should be optional by setting an parameter?
Thanks for your great work with this Library!
When I tried to input this code
$this->load->library('ciqrcode');
header("Content-Type: image/png");
$params['data'] = 'This is a text to encode become QR Code';
$this->ciqrcode->generate($params);
from the how to use instruction I get an error like this
What did I do wrong? Sorry for the noobish question. That's the only instruction I've found from the readme file.
is there a limit to the amount of character inside the qr?
i have 1160 characters and it won't upload.. is there any way?
Hi,
thanks to create this nice library for codeigniter.
But, why when i'm trying to use it as your instruction in main page, i get this error
A PHP Error was encountered
Severity: Warning
Message: file_put_contents(G:\xampp\htdocs\erp\index.phpapplication/logs/qr_.png-errors.txt) [function.file-put-contents]: failed to open stream: No such file or directory
Filename: qrcode/qrtools.php
Line Number: 106
i extract the file to application/libraries
and use this code to load it
$this->load->library('ciqrcode');
header("Content-Type: image/png");
$params['data'] = 'This is a text to encode become QR Code';
$this->ciqrcode->generate($params);
thank's for the advice
i want to generate a qr code without save it to the disk, is it possible? how to do it? thank you
Hello,
How can we do that?
QR I want to add logo to the middle of code?
Fatal error: Cannot redeclare class QRcode in /var/www/antrian/application/libraries/qrcode/qrencode.php on line 156
A PHP Error was encountered
Severity: Compile Error
Message: Cannot redeclare class QRcode
Filename: qrcode/qrencode.php
Line Number: 156
Backtrace:
Hi
I can't seem to see how I can display a QR code generated on the fly within a page including other data (form data, images etc). I don't really want to create a file and pull it in as an image if I can help it but simply running the qrcode to generate one on the fly I get
"�PNG � IHDRdd��J,���PLTE���U��~ pHYs������+���IDAT8���� �0 ��n�����&N���������!�Z�/I\�[�z �}J$�z�E}�?ȏ��0����O�f����̤:���� +��_ $��d"�!��0����;�������ݙ:��sW=W�Ύ4SO��"
as opposed to the qr code.
I am sure it's something I am doing wrong, something very simple......
I want bash64 of image of qr-code. there is any way i can find bash64 of qr-code using this library
I have make sure GD was installed, but i always got this error
Fatal error: Cannot redeclare class QRcode in C:\xampp\htdocs\yanibaru\application\libraries\qrcode\qrencode.php on line 156
A PHP Error was encountered
Severity: Compile Error
Message: Cannot redeclare class QRcode
Filename: qrcode/qrencode.php
Line Number: 156
Backtrace:
I am using COdeigniter 3.1.6
What could go wrong with my code ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.