Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function createQR($url,$s ='200',$er='L',$b='0') {
- $url = urlencode($url);
- return '<img src="http://chart.apis.google.com/chart?chs=' . $s . 'x' . $size . '&cht=qr&chld=' . $er . '|' . $b . '&chl=' . $url . '" alt="TAG" width="' . $size . '" height="' . $size . '"/>';
- }
- echo createQR('http://www.yourdomain.com',200);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement