Barcode reader
An example web page using the pic2shop barcode reading interface.
If you have an iPhone try it out at:
http://www.meandeviation.com/test/iphone/barcode.php
<?php $code = $_REQUEST['ean']; echo '<' . '?xml version="1.0" encoding="UTF-8" ?' . '>'; ?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>test barcode reader</title> </head> <body> <div> <h1>test barcode reader</h1> <?php if ( $code ) : ?> <p> The barcode was <?php echo htmlentities( $code ); ?> </p> <?php endif; ?> <p> <a href="pic2shop://scan?callback=http://www.meandeviation.com/test/iphone/barcode.php?barcode=EAN">read barcode</a> </p> <p> This web page is for iPhone users only and needs <a href=""http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=308740640&mt=8">pic2shop</a> installed (it is free), which allows third party web apps and iPhone apps to use its bar code reading software as a form of local web service. </p> </div> </body> </html>

[...] Their developer documentation has an example iPhone app, but not an example web page. However, I made a web page using their interface in about 5 minutes (see PHP source of barcode reader). [...]
Pingback by Alan’s blog » reading barcodes on the iPhone — December 22, 2009 @ 7:11 pm
I think it would be a great idea to incorporate barcode labels in to more everyday life. Have seen that the iphone has app’s that you can download to scan and compare prices of food online, as well as an app that tells you the content of the food. Great start, just hope they keep developing the idea!
Comment by Dude Love — June 11, 2010 @ 2:01 pm
Very nice. Thanks for providing this for us php users.
John
Comment by John Rodkey — July 14, 2010 @ 5:53 pm