Code Monkey home page Code Monkey logo

codeigniter-php-qr-code's People

Contributors

collinprice avatar dwisetiyadi avatar jaredhatfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeigniter-php-qr-code's Issues

Codeigniter4

How do I use your library in CI4? Can you please give me the steps or examples?

version

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!

  • Rasmus :)

2d Barcode

How do I switch from qrcode to 2d-barcode output?

Thanks!

Error generate grcode

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

How to add url to qrcode ?

Hello, i want to redirect from url after scanning the qrcode, how to add url to the $params please ?
thank you

Add Label

I want to add label under Qr Code . is that possible with that library ?

QR CODE CONTENT SIZE

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?

save qr image to sub directory

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

QRcode unable load class

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 ?

Error Qrcode

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

Error in log path when changing Application name

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?

Transparent Colour

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?

getting error image cannot be displayed because it contains error

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
Screen Shot 2013-03-11 at 11 56 23 AM
What did I do wrong? Sorry for the noobish question. That's the only instruction I've found from the readme file.

Cannot redeclare class Qrcode

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:

Unable to load the requested class: Ciqrcode in Live server

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

Customizable QR Code.

Is it possible to customize the QR code something like this? Or anybody can suggest any library for doing that?
qrdemo

Using the QR Code on a page with other data

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......

Image in binary form

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.