generate two-dimensional code online via the API generated by Google online.
The code is as follows:
Copy CodeThe code is as follows:
<title>Two-dimensional code generation-www.jbxue.com</title>
$content =$_get[' content ';
$width =$_get[' width ']?$_get[' width ']:300;
$height =$_get[' height ']?$_get[' height ']:300;
if ($content) {
echo "The text you typed is: $content
";
echo "The width you choose is: $width
";
echo "The height of your choice is: $height
";
echo "generates a QR code image that is:
";
$wen = UrlEncode (mb_convert_encoding ($content, ' utf-8 ', ' gb2312 ')). "";
echo "
Image address: https://chart.googleapis.com/chart?cht=qr&chld=h&chs={$width}x{$height}&chl={$wen}
Copy to your friend. Go back to the previous page ";
}else{
?>
http://www.bkjia.com/PHPjc/327369.html www.bkjia.com true http://www.bkjia.com/PHPjc/327369.html techarticle generate two-dimensional code online via the API generated by Google online. The code is as follows: Copy code code as follows:! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "http://www ...