Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

253
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda