<img src="https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl=http://YOURpageURL.com/&choe=UTF-8" />
<!-- Can be placed anywhere on the page - Get page url -->
<?php
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}?>
<!-- Put this line where you want your dynamic QR code -->
<img src="https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl=<?php print $pageURL?>/&choe=UTF-8" />
Return to Hacks and Modifications
Users browsing this forum: No registered users and 3 guests