<?php

$email='progwhiz@yahoo.com';
$pass='gJ7#mA5!'; // provided upon receipt of payment
$pass=rawurlencode($pass);
$content='Test API'; // The information or link to store in the QR Code
$magnify='0.8'; // range from 0.1 to 1 scale
$filename='Testapi'; // the prefix of the name of the QR File
$qrcolor1='FFFFFF'; 
$qrcolor2='000000'; 
$ltrans='1'; // 0-opaque , 1 to 6 -translucent logo
$pichold='0.4';// 0.1 to 0.9
$logopath='https://www.progwhiz.com/qrimages/pwiz2.png';// location of the logo to embed, if left blank no logo will be placed
$contastoffset=0;
$cleanspace='0';// 1 - clear background, 0 - use QR background
$greyscale=0;//1 change to greyscale 

$data = array('email' => $email,'pass' => $pass,'content' => $content,'magnify' => $magnify,'filename' => $filename,'qrcolor1' => $qrcolor1,'qrcolor2' => $qrcolor2,'ltrans' => $ltrans,'pichold' => $pichold,'logopath' => $logopath,'imagposx' => $imageposx,'imagposy' => $imageposy, 'decaccuracy'=>$decaccuracy, 'contrastoffset' => $contrastoffset, 'cleanspace' => $cleanspace, 'greyscale' => $greyscale);

$datastrenc=base64_encode(json_encode($data));

header("Location: https://www.progwhiz.com/qrgenerator/qrcreategetjson.php?data=$datastrenc");// Generate the QR File and return the path to the QR File in PNG format


?>