Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Send readed data to php? pls help

Help
norbre
2013-09-27
2014-06-04
  • norbre
    norbre
    2013-09-27

    Hi,
    ZBar succesfully write the readed codes into a specified txt file (I use this method under windows command line: "zbarcam \dev\video1 >out.txt").
    ... but I'd like to send the data directly to a php (ex.:http://www.foo.com/process.php).
    Can I do that somehow? (ex.: zbarcam \dev\video1 >http://www.foo.com/process.php?code=)

    thank you

     
  • norbre
    norbre
    2013-10-02

    nobody?

     
  • lloydmedley
    lloydmedley
    2014-06-04

    I'm looking to do the exact same thing. Looks like no one has a proper answer. Just been playing around and this batch script seems to sort of work though..

    cd C:\Program Files (x86)\ZBar\bin>
    zbarimg -d C:\Users\User\Desktop\image.png > C:\Users\User\Desktop\1.txt
    set /p VAR1=<C:\Users\User\Desktop\1.txt
    start http://domain.co.uk/page.php?var=%var1%
    del C:\Users\User\Desktop\1.txt

    Now just need to get it to work with the webcam (I'm trying to verify ticket numbers)