echo "<p><img src='" . $qr->get_link() . "' border='0'/></p>"; //wifi network configuration works on Android devices //First param - Authentication type WPA or WEP //Second param - Network SSID //Third param - password $qr->wifi("WEP", "wifi_name", "password"); echo "<p>Wifi configuration for Android devices</p>"; echo "<p><img src='" . $qr->get_link() . "' border='0'/></p>"; //starting i-appli aplication which needs to be downloaded beforehand //First parameter ADF - URL accessed to acquire the ADF of i-αppli to be activated //Second parameter CMD command - The designated boot command must be declared within the AllowPushBy key of the ADF beforehand. //Third parameter array of parameters - up to 16 parameters sent to the i-αppli to be activated $param = array(); $param[] = array("name" => "name1", "value" => "value1"); $param[] = array("name" => "name2", "value" => "value2"); $qr->iappli("http://www.nttdocomo.co.jp/test_appli.jam", "abcde", $param); echo "<p>i-appli activation</p>"; echo "<p><img src='" . $qr->get_link() . "' border='0'/></p>"; //encoding files like gif, jpg midi files in QR codes //First parameter type - QR codes for support (image/gif, image/jpeg, application/x-mld, audio/midi, audio/mid, application/x-toruca) //Second parameter size of file - the total bytes of content data using decimal code //Third parameter content itself - Designate the content data using binary code $qr->content("image/gif", "1385", "zzz"); echo "<p>QR code with file content</p>"; echo "<p><img src='" . $qr->get_link() . "' border='0'/></p>"; //here is the way to output image //header("Content-type: image/png"); //echo $qr->get_image(); //and here is the way to force image download //$file = $qr->get_image(); //$qr->download_image($file)