QR Code Analysis and It Is Usage in Afghanistan
QR Code Analysis and It Is Usage in Afghanistan
Image Processing
Prepared by
Frishta Mirzad (18MCS0104)
Khatera Mastanzada (18MCS0105)
khatemastanzada@gmail.com,
frishta.mirzad@yahoo.com
May, 2019
Abstract
Quick Response (QR) Codes is used to reserve small extent of information. They are used in all
scope of life in this modern age. Especially with massive extension of intelligent phones. Smart
phones are using for scanning quick response Codes. Many benefits of Quick Response invent
them very public, there is many security problems, dignity which are connected with them.
Running harmful Codes, thievery member ' susceptible information, offending their secrecy and
id steal are few common safety dignities that a user may be face to in the profile whenever he/
she is only reading the quick response in the front ground. In research we discussed how to
secure QR Codes and prevent these security issues.
The aim of this project is to find out and declare QR Codes Concept in details and to know how
the traders use QR in their Bossiness and how QR help them for their works in general in
Afghanistan. Furthermore, in below we will discuss about History, uses, Standards, Security,
Risks advantages and Disadvantages by the end.
1. Introduction
Based on interest and knowledge, we picked up project to on QR Codes. We believe
Market, organization and operation is well-nigh impossible without QR Codes now a day.
Firstly, the profile, incentive of our investigation task are presented. By, the aim and research
inquiry are explained. (JiQianyu, 2014) The purpose of this investigation is to know Traders’
views on QR Usages and find out how we can or increase Usages and security aspects of QR
Codes that are they safe and can them be fake According to QR Codes concept and Information
technology usage I will have prepared this research in. In case the main purpose for choosing
such a theme is to determine, analysis current situation, necessary and find the result for concept
for Quick Response Codes. (JiQianyu, 2014)
1.2 Objectives
Firstly, aim of this project we start on concept of Quick response Code in details,
Furthermore, the characteristics of QR Code are introduced, in addition, the analysis the of QR
Code, history of QR Code, Usage of QR Code in Afghanistan advantage and disadvantage that
we use in companies, security aspect QR Code and how to secure QR Code. To achieve our aim
in this project.
2. Research Methodology and Design
Our investigation work characterizes the basic of quick response Codes. This research
initiates the development history. And elucidates the cause wherefore QR befit more and more
cherished in whole the globe.
Further, the research digs the technologies of QR Code, likewise the symbols of QR
Code, which includes the version of QR Code and the size of its symbol. What is more, the
research digs the functions of different squares which included QR Code. Furthermore, the study
focuses on encoding and decoding procedures of QR Code. Result of this inquiry is a number of
suggestions developed for organizations which are using QR Code. On the base of the profile,
specifications survey of QR Code, QR Code technologies inquiries, better exercise of QR Code,
the profits of using QR Code within organization are reading our project. Descriptive and
exploratory research methods are used in the light of literature analysis. In this project,
exploratory research is nature because QR Code is widespread used in the world and the function
of QR Code is evolving rapidly at present. Apart from that, the concept of QR Code and the
technologies of QR Code are often updating. (Greaney 2011)
9. QR usages in AFGHANISTAN
To begin with Afghanistan, Afghanistan is a country with new trade level, the mobile technology was
firstly beginning to use in public after 2001.
QR Codes become evident in Afghanistan as well like in Marketing, Ticketing in few places like
Safi landmarks and suits, using in online Book reserve, Website login and authentications as
well.
QR Codes in Afghanistan is now in growing mode.
New technologies around the traders are using seldom in their marketing issues like printing
banners and stands, the banks are widely uses to debit and credit the customers balance to get in
cards, alongside all these is growing faster than ever now days cause of public awareness’s from
social medias.
Nonetheless now a day there are lots of youths which are busy with social networks like Facebook,
Instagram, Viber, Imo, WhatsApp, Twitter, Hi5,Snap Chat,WeChat, and more ever like
Hotmail,Gmail,Outlook,Yahoo Mail to be connected and communicate with each other.
As identified by this research, the people who use any of the mentioned applications to communicate are
rarely in usage of QR Codes expect WhatsApp, WeChat and Viber users.
Although widely popular in the West and in Asian countries such as Japan, Korea, and China, QR Codes
are beginning to appear in Afghanistan as well such as Marketing, Ticketing in few places like Safi
landmarks and suits, using in online Book reserve, Website login and authentications as well.
More ever the usage of QR Codes in Afghanistan is now in growing mode such the new technologies
around the traders are using rarely in their marketing issues like printing banners and stands, the banks are
widely uses to debit and credit the customers balance to get in cards, beside all these is growing faster
than ever now days cause of public awareness’s from social medias. [http://mcit.gov.af]
10. Schedule Task
Start Date End Date Topic
01/05/2019 03/05/2019 Deciding Research Topic
03/05/2019 8/05/2019 Abstract
8/05/2019 10/05/2109 Literature Survey
10/05/2019 12/05/2019 Data Collection
12/05/2019 13/05/2019 System Diagrams
14/05/2019 17/05/2019 Development of
Methodology
18/05/2019 21/05/2019 Result Analysis
23/05/2019 25/05/2019 Last date for uploading
of draft paper
27/05/2019 27/05/2019 Preparation of Seminar
paper
11. Code
<? php
$f = "visit.php";
if(!file_exists($f)){
touch($f);
$handle = fopen($f, "w" ) ;
fwrite($handle,0) ;
fclose ($handle);
}
include('libs/phpqrcode/qrlib.php');
function getUsernameFromEmail($email) {
$find = '@';
$pos = strpos($email, $find);
$username = substr($email, 0, $pos);
return $username;
}
if(isset($_POST['submit']) ) {
$tempDir = 'temp/';
$email = $_POST['mail'];
$subject = $_POST['subject'];
$filename = getUsernameFromEmail($email);
$body = $_POST['msg'];
$codeContents=
'mailto:'.$email.'?subject='.urlencode($subject).'&body='.urlencode($body);
QRcode::png($codeContents,$tempDir.''.$filename.'.png',
QR_ECLEVEL_L, 5);
}
?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Quick Response (QR) Code Generator</title>
<link rel="icon" href="img/favicon.ico" type="image/png">
<link rel="stylesheet" href="libs/css/bootstrap.min.css">
<link rel="stylesheet" href="libs/style.css">
<script src="libs/navbarclock.js"></script>
</head>
<body onload="startTime()">
<nav class="navbar-inverse" role="navigation">
<a href=#>
<img src="img/niemand.png" class="hederimg">
</a>
<div id="clockdate">
<div class="clockdate-wrapper">
<div id="clock"></div>
<div id="date"><?php echo date('l, F j, Y');
?>
</div>
</div>
</div>
<div class="pagevisit">
<div class="visitcount">
<?php
$handle = fopen($f, "r");
$counter = ( int ) fread ($handle,20) ;
fclose ($handle) ;
if(!isset($_POST["submit"])){
$counter++ ;
}
echo "This Page is Visited ".$counter." Times";
$handle = fopen($f, "w" ) ;
fwrite($handle,$counter) ;
fclose ($handle) ;
?>
</div>
</div>
</nav>
<div class="myoutput">
<h3><strong>Quick Response (QR) Code
Generator</strong></h3>
<div class="input-field">
<h3>Please Fill-out All Fields</h3>
<form method="post" action="<?php echo
htmlspecialchars($_SERVER["PHP_SELF"]); ?>" >
<div class="form-group">
<label>Email</label>
<input type="email" class="form-control"
name="mail" style="width:20em;" placeholder="Enter your Email" value="<?php
echo @$email; ?>" required />
</div>
<div class="form-group">
<label>Product</label>
<input type="text" class="form-control"
name="subject" style="width:20em;" placeholder="Enter your Email Subject"
value="<?php echo @$subject; ?>" required pattern="[a-zA-Z .]+" />
</div>
<div class="form-group">
<label>Message</label>
<input type="text" class="form-control"
name="msg" style="width:20em;" value="<?php echo @$body; ?>" required
pattern="[a-zA-Z0-9 .]+" placeholder="Enter your message"></textarea>
</div>
<div class="form-group">
<input type="submit" name="submit"
class="btn btn-primary submitBtn" style="width:20em; margin:0;" />
</div>
</form>
</div>
<?php
if(!isset($filename)){
$filename = "author";
}
?>
<div class="qr-field">
<h2 style="text-align:center">QR Code Result: </h2>
<center>
<div class="qrframe" style="border:2px solid
black; width:210px; height:210px;">
<?php echo '<img src="temp/'.
@$filename.'.png" style="width:200px; height:200px;"><br>'; ?>
</div>
<a class="btn btn-primary submitBtn"
style="width:210px; margin:5px 0;" href="download.php?file=<?php echo
$filename; ?>.png ">Download QR Code</a>
</center>
</div>
<div class = "dllink" style="text-align:center;margin:-100px
0px 50px 0px;">
<h4>Developer: Tarique Akhtar Ansari</h4>
</div>
</div>
</body>
<footer><center><br>Brought To You By: Technical
Babaji</center></footer>
</html>
12. Demonstration
Figure 3: UI
Figure 4: QR code generator page
13. Conclusion
The means of QR Code is not a secure standard for information of our information to
encoding and decoding in current situation.
In new standard security such us Public Key Encrypted QR Codes, Symmetric Encrypted
QR Codes, and Signed QRCode can be design, develop and implemented within the
existing QR standard.
SEQRs allows to services such as login by scanning a QR Code on a verified mobile
device.
PKEQRs would allow to secure information information to be divided to a select group
of people simply.
SQRs allows member to check as they believe the maker of QR Codes before opening
their hidden hazardous contents.
Finally, every procedure achieves a few expense time or space, also there are should be
used this time that required, such as when we can use QR Code that we want to share
important information within a company and not in other part such as commercial use.
References
1.Thesis by JiQianyu (2014), “Exploring concept of QR Code and the benefits of using QR Code
for companies “, page(6-7)
3. Books. Google.com, Winter, Mick (2010)” Scan me-everybody’s guide to the magical world
of QR Codes.” Accessed on (2019).
5. Books. Google.com, Weir, Michael (2010), “QR Codes & Mobile marketing for the small
business owner. “The United States: Create Space Independent Publishing Platform Accessed on
(2019)
7. Seongbok Biak (2010), “Rethinking QR Code: Analog portal to digital world, “Article in
multimedia Tools and Application,page 5.
8. Sontakki C.N (2010). “Marketing research”, First Edition,Himalaya Publishing House, 68.
9. Greaney, Cathal (2011), “Location Aware Apps for Tourism”, Lulu com (2011), page 35.
10. Thesis by Kevin Peng, Harry Sanabria, Derek Wu ,(2015) “Security Overview of QR Codes”
Massachusetts Institute of Technology
11. Mirsat Yesiltepe and MuhammetKurulay, (2018) “Fake and Real Massaging at
the Same Time with QR Code in” Volume 2018, Article ID 3809462, 10 pages, issue 19
November 2018