How Do I Generate a QR Code For My Current Page?
This is a pretty simple solution using Google’s charts API and some PHP. I uploaded a sample file which you can download by “right-click” and “save-as”: qr-code-current-page.zip
1.) You first need to determine your current page.
2.) Second, you need to implement Google’s chart api for QR codes.
3.) Write both parts into separate strings and write a final string for an image path.
4.) Echo the php in an image path.
5.) Check out your page, you should see a QR code.
1.) Google Chart API – QR Codes – More information about Google’s API.
2.) Sample PHP file showing QR code for current page. (Right-click and Save-as)
If you enjoyed this post, please comment!!
Leave a Reply