2017 © Pedro Peláez
 

library php-barcode-com-component

Dynamsoft Barcode Reader SDK for PHP - Implement Barcode Recognition to Your App

image

dynamsoftsamples/php-barcode-com-component

Dynamsoft Barcode Reader SDK for PHP - Implement Barcode Recognition to Your App

  • Thursday, January 28, 2016
  • by adriancobb
  • Repository
  • 4 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHP Barcode COM Component

This is the [COM component][1] for making PHP barcode reader., (*1)

Getting Started

  1. Create a new project named test. Under the project root directory, create two php files - test.php and readbarcode.php. Then copy dynamsoftbarcodereader.php from the SDK package to the project folder., (*2)

  2. Edit test.php as follows:, (*3)

    <html>
    <head/>
    <body>
        <h1>Dynamsoft Barcode Reader PHP Simple Sample</h1>
        <form action="readbarcode.php" method="post" enctype="multipart/form-data">
            Select barcode image:
            <input type="file" name="barcodefile" id="barcodefile" accept="image/*" /><br/>
            <input type="submit" value="Read Barcode" name="submit"/>
        </form>
    </body>
    </html>
    

    Edit readbarcode.php as follows:, (*4)

    initLicense("");
    $br->decodeFile($uploadfile);
    
    $cnt = $br->getBarcodesCount();
    echo "Barcode Count: $cnt 
    "; for ($i = 0; $i getBarcodeResult($i); echo "$i. $res->BarcodeFormatString , $res->BarcodeText
    "; } ?>

    Please replace < your license key here > with valid values. The licenses can be found in the [INSTALL FOLDER]\LicenseManager.exe., (*5)

  3. Suppose you deploy the sample to WampServer, please copy test folder to [WampServer ROOT PATH]\www folder. Start your WampServer and visit http://[ip]:[port]/test/test.php to verify if it works., (*6)

    **Note: ** If you recieve the "Class 'COM' not found" error, please check whether the COM extension is enable in php.ini:, (*7)

    extension=php_com_dotnet.dll
    

The Versions

28/01 2016

dev-master

9999999-dev http://www.dynamsoft.com/Products/Dynamic-Barcode-Reader.aspx

Dynamsoft Barcode Reader SDK for PHP - Implement Barcode Recognition to Your App

  Sources   Download

Apache-2.0

qrcode sdk barcode qr code datamatrix pdf417 code 39 code 128 codabar code39 code128 code93 code 93 interleaved 2 of 5 upc-a upc-e dynamsoft barcode reader ean-8 ean-13 industrial 2 of 5 data matrix pdf 417

28/01 2016

v1.0.1

1.0.1.0 http://www.dynamsoft.com/Products/Dynamic-Barcode-Reader.aspx

Dynamsoft Barcode Reader SDK for PHP - Implement Barcode Recognition to Your App

  Sources   Download

Apache-2.0

qrcode sdk barcode qr code datamatrix pdf417 code 39 code 128 codabar code39 code128 code93 code 93 interleaved 2 of 5 upc-a upc-e dynamsoft barcode reader ean-8 ean-13 industrial 2 of 5 data matrix pdf 417

28/01 2016

v1.0

1.0.0.0 http://www.dynamsoft.com/Products/Dynamic-Barcode-Reader.aspx

Dynamsoft Barcode Reader SDK for PHP - Implement Barcode Recognition to Your App

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3

 

qrcode sdk barcode qr code datamatrix pdf417 code 39 code 128 codabar code39 code128 code93 code 93 interleaved 2 of 5 upc-a upc-e dynamsoft barcode reader ean-8 ean-13 industrial 2 of 5 data matrix pdf 417