• We just launched and are currently in beta. Join us as we build and grow the community.

Simple Quick Response (QR) Code Generator Web App Using PHP QR CODE Library With Source Code

trollo99

Junior Member
T Rep
0
0
0
Rep
0
T Vouches
0
0
0
Vouches
0
Posts
141
Likes
94
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
This is a simple project that has a Quick Response Code Generator in PHP with the use of PHP QR Code Library. This project's purpose is to share this with the IT/CS students or self-learners to give an idea of how to create a web app that generates a QR Code. The source code has only a minimum scope which only has a simple form that has 3 text/input fields. The fields are the email, subject, and message. These fields will be used for generating a Quick Response Code.

Features

  • Simple Form
  • Generated Quick Response Field
  • Download QR Code as a PNG Format.

Plugins/Libraries Used

  • PHPQRCODE
  • Bootstrap 3.3.7

How the App Works

To generate a Quick Response (QR) Code, the user must fill first all text or input fields provided in the form. After that, when the user will submit the form, the Generated Quick Response Code will be shown on the right side of the screen. The expected text format of the generated QR Code is "mailto:{email}?subject={subject}&body={message}" (i.e. [mailto:[email protected]?subject=Test&body=Hello+World]). Click the Download button below the Generated QR Code to download the code into PNG Format.

Sample Images

Index Page

index_.png


Scanning Sample

sample_qr.png


Scanning Result

qr_result.png


How to Run

Requirements:

  • Download and Install any local webserver to run PHP Script such as XAMPP/WAMP.
  • QR Code Scanner for testing. You can also use your smartphone that has a QR Code Scanner Feature/App.
  • Download the provided source code zip file. ( download button is located below )

Setup/Installation

  • Open your XAMPP/WAMP's Control Panel and start the "Apache".
  • Extract the source code zip file.
  • If you are using XAMPP, copy the source code folder and paste it into the XAMPP's "htdocs" directory. And if you are using WAMP, paste it into the "www" directory.
  • Open a web browser and browse the Web Application. i.e. http://localhost/quick-response-code-generator

Demo

That's it! I hope this Simple Quick Response Generator in PHP will help you with what you are looking for and for your future project. Hope You Enjoy My Code:)

Live Preview at codepreview.x10host.com

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.

2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Download
You must upgrade your account or reply in the thread to view hidden text.
 

452,292

323,526

323,535

Top