PHP QR Code


You can provide data in GET parameter: like that

( ! ) Fatal error: Uncaught TypeError: Unsupported operand types: GdImage * int in C:\wamp64\www\testqr2\phpqrcode\qrimage.php on line 95
( ! ) TypeError: Unsupported operand types: GdImage * int in C:\wamp64\www\testqr2\phpqrcode\qrimage.php on line 95
Call Stack
#TimeMemoryFunctionLocation
10.0201359992{main}( )...\index.php:0
20.2488361912QRcode::png( $text = 'PHP QR Code :)', $outfile = 'C:\\wamp64\\www\\testqr2\\phpqrcode\\temp\\test.png', $level = 'L', $size = 4, $margin = 2, $saveandprint = ??? )...\index.php:67
30.2500362104QRencode->encodePNG( $intext = 'PHP QR Code :)', $outfile = 'C:\\wamp64\\www\\testqr2\\phpqrcode\\temp\\test.png', $saveandprint = FALSE )...\qrencode.php:286
40.7195394472QRimage::png( $frame = [0 => '111111101111101111111', 1 => '100000100101001000001', 2 => '101110100110001011101', 3 => '101110100111001011101', 4 => '101110100011101011101', 5 => '100000100001101000001', 6 => '111111101010101111111', 7 => '000000001110100000000', 8 => '110110100110101000001', 9 => '010010000010111100000', 10 => '010100101101010100111', 11 => '111011001011101101111', 12 => '101110111100100110101', 13 => '000000001111111000111', 14 => '111111100100111111000', 15 => '100000100101101000101', 16 => '101110101100010101011', 17 => '101110101100100011000', 18 => '101110100011110110011', 19 => '100000101110110111110', 20 => '111111101110100111010'], $filename = 'C:\\wamp64\\www\\testqr2\\phpqrcode\\temp\\test.png', $pixelPerPoint = 4, $outerFrame = 2, $saveandprint = FALSE )...\qrencode.php:494
50.7195394472QRimage::image( $frame = [0 => '111111101111101111111', 1 => '100000100101001000001', 2 => '101110100110001011101', 3 => '101110100111001011101', 4 => '101110100011101011101', 5 => '100000100001101000001', 6 => '111111101010101111111', 7 => '000000001110100000000', 8 => '110110100110101000001', 9 => '010010000010111100000', 10 => '010100101101010100111', 11 => '111011001011101101111', 12 => '101110111100100110101', 13 => '000000001111111000111', 14 => '111111100100111111000', 15 => '100000100101101000101', 16 => '101110101100010101011', 17 => '101110101100100011000', 18 => '101110100011110110011', 19 => '100000101110110111110', 20 => '111111101110100111010'], $pixelPerPoint = 4, $outerFrame = 2 )...\qrimage.php:32