Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Conversation

@vv01f
Copy link

@vv01f vv01f commented Dec 15, 2013

/* vv01f added for
* easier (simple call) and
* (old browser) compatible
* no need to write files on servers
inclusion of qr-codes in php generated html
*/

/* usage:
*   <?php
*   require_once('./'."qrcode.class.php");
*   header("Content-type: text/html");
*   ob_start();
*   print('<!doctype html><html><head>
*      <title>Bitcoin QRCode</title>
*      <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">
*      <style>
*      .square {
*       width: 3px;
*       height: 3px;
*       float:left;
*      }
*      .clear{
*       clear: left;
*      }
*      .dark{
*       background: black;
*      }
*      .white{
*       background: white;
*      }
*   </style></head><body>
*       <div style="display: inline-block; clear: left; border: 2px solid white; margin-left: 4px;">').
*   .QRCode::divHTML('text for qrcode')
*   .'</div></body></html>';
*   ob_end_flush();
*   ?>
*/

    /* vv01f added for
        * easier (simple call) and
        * (old browser) compatible
        * no need to write files on servers
       inclusion of qr-codes in php generated html */
       
    /* usage:
    *   <?php
    *   require_once('./'."qrcode.class.php");
    *   header("Content-type: text/html");
    *   ob_start();
    *   print('<!doctype html><html><head>
    *      <title>Bitcoin QRCode</title>
    *      <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">
    *      <style>
    *      .square {
    *       width: 3px;
    *      	height: 3px;
    *      	float:left;
    *      }
    *      .clear{
    *      	clear: left;
    *      }
    *      .dark{
    *      	background: black;
    *      }
    *      .white{
    *      	background: white;
    *      }
    *   </style></head><body>
    *       <div style="display: inline-block; clear: left; border: 2px solid white; margin-left: 4px;">').
    *   .QRCode::divHTML('text for qrcode')
    *   .'</div></body></html>';
    *   ob_end_flush();
    *   ?>
    */
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant