Hi, Please update on this..if making the lib through composer it is very useful. Thanks
Hello people.... I have a question for the fouum.... I was downloaded the phpqrcode to generate qr codes....but I don´t undestand how to install it....thatis to say....how to complete the path of the installation .... thanks for the attention best regards
Dear sir/madam, I would like to create qr code that allow the people to join wifi and open link website. can you help to suggest me?
Dear sir, I would like to create qr code that allow the people to join wifi and open link website. can you help to suggest me?
Qr expire does not working, can anyone share the url which is actually working with expiry
HELP FOR USE IN IOS DEVICES
Hi, if you also have a restaurant, then might as well check this QR code menu. It's a QR code that is mainly intended for restaurants securing fast and hassle free ordering system.
Hi, if you also have a restaurant, then might as well check this menu QR code. It's a QR code that is mainly intended for restaurants securing fast and hassle free ordering system.
Hey. This is amazing. Thank you for sharing. Check out https://www.giftlips.com/
PHP 8 : Deprecated: Implicit conversion from float 0.2 to int loses precision in qrencode.php on line 140
Hello How I can do to install "phpqrcode/qrlib.php"in the apache server to generate QR codes? Thanks
composer supoport
Hello is the library offered as a composer package?
It turns out that the size of the image is controlled by the outerFrame parameter when calling the image // public static function png($frame, $filename = false, // $pixelPerPoint = 4, $outerFrame = 4,$saveandprint=FALSE) $pixels_per_point = 4; $outer_frame = 8; // determines the size of the image // use 6 or 8 for larger images $codeContents = "content for QR code"; $fileName = '005_file_'.md5($codeContents).'.png'; QRcode::png($codeContents, $pngAbsoluteFilePath, $pixels_per_point, $outer_fram...
I've recently discovered this QR code generator online that fits my needs https://www.qrcode-tiger.com/
I need to send the code (secret key) by email, but I don't want to save it to disk. Please add this instruction to the library description. <img src="data:image/png;base64, <?=QRcode::png('This QR code :)')?>" /> or <?php ob_start(); QRcode::png('This QR code :)'); $imageData = ob_get_clean(); ?> <img src="data:image/png;base64, <?=$imageData?>" /> The error says that the HEADER is already defined.
I need to send the code (secret key) by email, but I don't want to save it to disk. Please add this instruction to the library description. <img src="data:image/png;base64, <?=QRcode::png('This QR code :)')?>" /> <?php ob_start(); QRcode::png('This QR code :)'); $imageData = ob_get_clean(); ?> <img src="data:image/png;base64, <?=$imageData?>" /> The error says that the HEADER is already defined.
I need to send the code (secret key) by email, but I don't want to save it to disk. Perhaps, for others, add a description to the libraries. <img src="data:image/png;base64, <?=QRcode::png('This QR code :)')?>" /> <?php ob_start(); QRcode::png('This QR code :)'); $imageData = ob_get_clean(); ?> <img src="data:image/png;base64, <?=$imageData?>" /> The error says that the HEADER is already defined.
I need to send the code (secret key) by email, but I don't want to save it to disk. I need to send the code (secret key) by email, but I don't want to save it to disk. Perhaps, for others, add a description to the libraries. <img src="data:image/png;base64, <?=QRcode::png('This QR code :)')?>" /> <?php ob_start(); QRcode::png('This QR code :)'); $imageData = ob_get_clean(); ?> <img src="data:image/png;base64, <?=$imageData?>" /> The error says that the HEADER is already defined.
php 8 is very breaker version , many good old libraries are not working in php 8 due to this issue we are working only with php 7 until 7.4 that it's also breaker but less than 8 . we don't know what we'll do in the future with php 8 because it's impossible to rewrite thousands of code line because they wanted to change totally the language
The php function imagecreate generates an image object (GDImage) if successful. However, this is only possible if the php module GD is also loaded when the web server is started, <?php phpinfo(); ? > provides information about it. If it is not loaded, the file php.ini must contain extension=gd. After that don’t forget to restart the web server ;-) I only made the changes to the code as in Barnabas Marvin's message of 2022-11-21. I use PHP 8.0.26 both locally for development and on the server of my...
Thanks to Barnabas Marwin, his suggestion fixed the Implicit conversion warnings as given by P. MANUEL BURRERO SÁNCHEZ. I had the same other warning happening as well, Passing null to parameter, but in a different file. Here are the changes I made to qrsplit.php to stomp on that: @line 53 - return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9'))); + return ((ord($str[$pos] ?? '') >= ord('0'))&&(ord($str[$pos] ?? '') <= ord('9'))); @line 62 - return (QRinput::lookAnTable(ord($str[$pos]))...
Thanks to Barnabas Marwin, his suggestion fixed the Implicit conversion warnings as given by P. MANUEL BURRERO SÁNCHEZ. I had the same other warning happening as well, Passing null to parameter, but in a different file. Here are the changes I made to qrsplit.php stomp on that: @line 53 - return ((ord($str[$pos]) >= ord('0'))&&(ord($str[$pos]) <= ord('9'))); + return ((ord($str[$pos] ?? '') >= ord('0'))&&(ord($str[$pos] ?? '') <= ord('9'))); @line 62 - return (QRinput::lookAnTable(ord($str[$pos]))...
I found this: https://www.qrcode-tiger.com/ while looking for an article on how to create a customized QR code with logo. The process of customization through it is very easy for me.
The php function imagecreate generates an image object (GDImage) if successful. However, this is only possible if the php module GD is also loaded when the web server is started, <?php phpinfo() ? > provides information about it. If it is not loaded, the file php.ini must contain extension=gd. After that don’t forget to restart the web server :-)
It generates these errors for me. I'm using Welcome to XAMPP for Windows 8.1.6 Fatal error: Uncaught Error: Call to undefined function ImageCreate() in C:\xampp\htdocs\EstacionaTec\phpqrcode\qrimage.php:74 Stack trace: #0 C:\xampp\htdocs\EstacionaTec\phpqrcode\qrimage.php(32): QRimage::image(Array, 3, 4) #1 C:\xampp\htdocs\EstacionaTec\phpqrcode\qrencode.php(494): QRimage::png(Array, 'images/005_file...', 3, 4, false) #2 C:\xampp\htdocs\EstacionaTec\phpqrcode\qrencode.php(286): QRencode->encodePNG('Hola...
It generates these errors for me. Fatal error: Uncaught Error: Call to undefined function ImageCreate() in C:\xampp\htdocs\EstacionaTec\phpqrcode\qrimage.php:74 Stack trace: #0 C:\xampp\htdocs\EstacionaTec\phpqrcode\qrimage.php(32): QRimage::image(Array, 3, 4) #1 C:\xampp\htdocs\EstacionaTec\phpqrcode\qrencode.php(494): QRimage::png(Array, 'images/005_file...', 3, 4, false) #2 C:\xampp\htdocs\EstacionaTec\phpqrcode\qrencode.php(286): QRencode->encodePNG('Hola Mundo', 'images/005_file...', false)...
Try updating these four lines in the getCode() function to fix the first two of three errors that you mentioned: OLD $row = $this->count % $this->blocks; NEW $row = intval($this->count % $this->blocks); OLD $col = $this->count / $this->blocks; NEW $col = intval($this->count / $this->blocks); OLD $row = ($this->count - $this->dataLength) % $this->blocks; NEW $row = intval( ($this->count - $this->dataLength) % $this->blocks ); OLD $col = ($this->count - $this->dataLength) / $this->blocks; NEW $col...
It is compatible with 7.2 and 7.4
I have tested this code in the following PHP 7.2.34 and it works. PHP 7.4.33 and it works PHP 8.1.12 and can confirm, IT DOES NOT WORK.
Hmmm interesting
Business Card with Photo cannot be generate.
in 8bit mode any byte stream should be supported, interpretation of special chars
I am not a coder, but I am trying to amend the PHP QR Code implementation that our previous devs did. I have found the QR code output command on our site, and it looks like this: QRcode::png($codeContents, $qr_code_png_path); But I cannot for the life of me amend the size of the QR code it generates. I have tried both: QRcode::png($codeContents, $qr_code_png_path, 'L', 10, 1); QRcode::png($codeContents, $qr_code_png_path, QR_ECLEVEL_L, 10, 1); And it doesn't effect the output. My question is that...
These are the errors returned by the server: PHP Deprecated: Implicit conversion from float 0.25 to int loses precision in /lib/phpqrcode/qrencode.php on line 140 PHP Deprecated: Implicit conversion from float 0.25 to int loses precision in /lib/phpqrcode/qrencode.php on line 144 PHP Deprecated: basename(): Passing null to parameter #1 ($path) of type string is deprecated in /lib/phpqrcode/qrtools.php on line 106
I also tried it on 8bit flow chat systembut didn't work.
i need help please
Is it possible in the QR code Library ?
return image as a base64 encoded string
In 8bit mode any byte flow must be supported, interpretation of special chars (n, t, encoding-specific ones)link relies upon right here especially on scanner
I have been trying to find out if the library is compatible with php 7
mod_security breaks PHP QR Code
Is there a way to change how long the temp PNG files is stored? I want to delete these files as soon as possible after generating it.
Is background opacity configurable with the SVG output?
Yep. It worked on using the latest versions of PHP with a Windows 10 OS.
Can't change size
Hello Dominik, Please consider updating the "encodeString8bit" method to make the library compatible with (now deprecated) mbstring.func_overload. For example, if the have the following options in php.ini (mbstring.func_overload = 2; mbstring.internal_encoding = "UTF-8"), the strlen returns the number of characters, not bytes. As a result, QR-encoding a string with national characters truncates the string. To avoid this, just use count() after str_split(), since the last function is not affected...
I'm trying to set the default frame size for in-browser png stream. Currently, the only way I'm seeing is to save the file. There's no option to change the default global frame size in the qrconfig.php file, and streaming code doesn't accept any option, only the text is allowed. -- Hussain Al-Khalaf 00973-39030324
Hello ! Is this issue still open ? Can anyone tell me if this library is compatible with PHP 7.3 please ?
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta content="Microsoft Word 15 (filtered medium)" name="Generator"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Monaco; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Calibri",sans-serif;...
sorry wrong post
Hello. can't install phpqrcode. configure stooppoed with error: checking whether to support zlib... auto ./configure: line 14798: syntax error near unexpected token LIBZ,' ./configure: line 14798: PKG_CHECK_MODULES(LIBZ, zlib, gd_found_lib=yes, dnl' sytsem is Ubuntu 18.04 LTS please can help me? thx Alfons
I made it! It was in the wrong folder. https://www.silvioto.net/generatore-qr/
QR Generator in a Wordpress page
Hi everyone. I found this project a couple of weeks ago and wanted to have it updated to use PSR-4, autoloading, and PHP7 features like typehinting and such. So I created a new project, derived from this one. It's simpler, it only generates PNG images of QR Codes, but it's fully functional and open source. You're all welcome to contribute. I hope you like it. https://github.com/werneckbh/qr-code
sure? it works on my php7 install @ debian 9.
Hi I am using the create QRCode in php page i need the output QRCode image with overlay...
Almost 4 years are gone. Any update on this?
Please upload version 2.0
Unfortunately my prev. solution with the ob_start causes weird problems.
This seem to work, I hope there is a better way ob_start(); QRcode::png('Hello');...
how to merge qrcode into another image
how to generate qr code for multiple text field
qr code version forced selection
PHP 7 incompatiblity
GS1 QR Code
Hi, 1. if I allways want to have "Hallo, " in the text, but i dont want it to be...
Hi, if I allways want to have "Hallo, " in the text, but i dont want it to be visible...
Please add logo facility and customized eye icons and colors in QR code image
I am facing to same problem: Cannot modify header information - headers already sent...
I render simply inner HTML via phpwkhtmltopdf, but I have a problem with QR code....
I'd like to add my logo to my QR codes. Thank you. Please (if possible)... Regards....
Add logo QR Code
Size (parameter) means more like pixel size multiplier, exact code size (aka Version)...
Passing the same size from two locations but getting different QR sizes??
Hi, (regarding your priv msg - i am not notified about tickets/request, please use...
QR Code Generation Fails After Two or More Attemps
I have been using your code successfully for quite some time now. However I have...
I have been using your code successfully for quite some time now. However I have...
Hi, I’ve very appreciated your qr code class. Just a very simple question: how can...
It may be and issue with the permissions of the "temp" directory, try changing it...
I have been banging my head against the wall with this for the past few days. Basically...
Is possible create QR for WIFI ACCESS? How can I do it? Thank you
Template design qr code
Ok, found the documentation here http://www.girocode.de/wp-content/uploads/2014/06/GiroCode_EPC_Standard.pdf...
girocode possible?
I need to dynamically change the color of qr code.. how can it be done.. Thanx in...
PHPQRCODE PHPMAKER Question
At first: I'm sorry for my bad English... Why does the follwing example not work?:...
At first: I'm sorry for my bad English... Why does the follwing example not work?:http://phpqrcode.sourceforge.net/examples/index.php?example=003...
At first: I'm sorry for my bad English... Why does the follwing example not work?:http://phpqrcode.sourceforge.net/examples/index.php?example=003...
Here are some code snippet of PHP QR code generator Script, hope they are helpful:...
according to: http://en.wikipedia.org/wiki/VCard it will be TITLE field, therefore...
You can put a logo inside the QR code image without damaging its readability. Here...
How to add Job Title in business card detail?