Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
Mebjas HTML5 QR Code - Send Output data as a post parameter to another website

What I was trying to do, unsuccessfully, is to scan a barcode, then use the output data to send a post request to another site.

I tried using the application from "https://github.com/mebjas/html5-qrcode" in local apache server, but I dont know what I am doing wrong, it just opens a blank page.(tried finding step by step detailed guide, but did not find any. It seem I need a guide to tell me exactly where to put what, if someone knows one for a complete beginner, please tell me. Tried to follow the steps shown at github, but it seems I am missing something.)

I gave up using the github scripts and I then saved page as html from the demo app "https://scanapp.org/#reader" and it opens alright and scans the barcode on my localhost. Tried editing the html and js file, but I cannot find a way to get use of the output data.

So, using the saved page "https://scanapp.org/#reader". When the barcode is scanned, I want to send the decoded result as a post parameter in another site using the below code

<?php
$movieno = $_GET['id_of_decoded_barcode'];
?>

<form id="redirect_form" method="post" action="localhost/checkmoviestatus/find">
    <input type="hidden" name="movie_no" value="<?php echo htmlentities($movieno); ?>">
    </form>
<script type="text/javascript">
    document.getElementById('redirect_form').submit();
</script> 

If someone does not have the time to check it how this can be achieved, please to tell me what should I read or watch any tutorial.

If posting automatically as a post data is not possible, please to tell me how to place the decoded result in another place in the document. The output data has only an ID and I cannot replicate it by copying the html code. It shows only in one place at the result data container.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!