title: How to do the barcode reader in the php?
body: <p>How to read the barcode by using the php</p>
  
  <p><strong>Steps done</strong></p>
  
  <p>I have generate the barcode by using the tcpdf scripts.</p>
  
  <pre><code>require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
  
  // set the barcode content and type
  $barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
  
  // output the barcode as SVG image
  $barcodeobj-&gt;getBarcodeSVG(2, 30, 'black');
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uPlmb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uPlmb.png" alt="enter image description here"></a>[<a href="http://www.tcpdf.org/examples/barcodes/example_1d_svg.svg]" rel="nofollow noreferrer">http://www.tcpdf.org/examples/barcodes/example_1d_svg.svg]</a></p>
  
  <p>But i don't know how to read the normal Barcode Image by using php.</p>
  
  <p>And also i don't exactly what the barcode reader produces after scanning the barcode.But While surfing the sites i have seen that it will produce an output of 1-2-3-4 while scanning the barcode denoting the 1234. <strong>Please correct me if the output of the barcode reader differs from what i told</strong></p>