daily pastebin goal
10%
SHARE
TWEET

QR-PHP-2

rudipratm Mar 19th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. include('phpqrcode/qrlib.php');
  3. if(isset($_POST['data'])){
  4.     $text = $_POST['text'];
  5.     $folder = "images/";
  6.     $file_name = "qr.png";
  7.     $file_name = $folder.$file_name;
  8.  
  9.     QRcode::png($text,false, QR_ECLEVEL_H, 10, 3);
  10.     echo"<img src='images/qr.png'>";
  11. }
  12. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top