Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

250
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda