A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dwisetiyadi/CodeIgniter-PHP-QR-Code below:

dwisetiyadi/CodeIgniter-PHP-QR-Code: a PHP Library to create QR Code. This is a porting library for CodeIgniter Framework, original code from http://phpqrcode.sourceforge.net/.

This a library for CodeIgniter Framework to make QR Code from some string given, a porting code from http://phpqrcode.sourceforge.net/.

This library requires CodeIgniter Framework and GD2 PHP extension.

$this->load->library('ciqrcode');

header("Content-Type: image/png");
$params['data'] = 'This is a text to encode become QR Code';
$this->ciqrcode->generate($params);
$this->load->library('ciqrcode');

$params['data'] = 'This is a text to encode become QR Code';
$params['level'] = 'H';
$params['size'] = 10;
$params['savename'] = FCPATH.'tes.png';
$this->ciqrcode->generate($params);

echo '<img src="'.base_url().'tes.png" />';
$this->load->library('ciqrcode');

$config['cacheable']	= true; //boolean, the default is true
$config['cachedir']		= ''; //string, the default is application/cache/
$config['errorlog']		= ''; //string, the default is application/logs/
$config['quality']		= true; //boolean, the default is true
$config['size']			= ''; //interger, the default is 1024
$config['black']		= array(224,255,255); // array, default is array(255,255,255)
$config['white']		= array(70,130,180); // array, default is array(0,0,0)
$this->ciqrcode->initialize($config);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4