-3

My goal is to provide a user the ability to scan their documents through our website.

I have looked into a tool called phpSane (http://sourceforge.net/projects/phpsane/), however, I am aware that users can't connect the scanner to their computer, as they would need to connect their scanner to the server since PHP runs on the server and can only communicate with the hardware on the server.

My website is not being hosted locally, but through Amazon AWS.

I am a bit confused, and is looking for guidance.

Thanks in advance for your support.

Jørgen R
  • 10,568
  • 7
  • 42
  • 59
jon220
  • 93
  • 1
  • 11
  • Haven't you asked this question already [here](http://stackoverflow.com/questions/27328185/phpsane-for-windows-integrate-scanning-into-website)? It's too broad for [so]. –  Dec 06 '14 at 22:40
  • I was looking for a more concrete answer. – jon220 Dec 06 '14 at 22:48
  • The first question has already been closed, as should this one. Why did you need to set up a second account to ask this? I've flagged it for a moderator to merge the accounts. –  Dec 06 '14 at 22:50
  • if your not willing to add value to this post, than i don't see your purpose here. I have reformatted my previous questions, and unless you have more constructive answers to provide, I don't see the point in engaging in further conversations with you. – jon220 Dec 06 '14 at 23:29
  • You can use a 3rd party client-side TWAIN SDK to enable document scanning in your website. Check out [this article](http://www.dynamsoft.com/blog/web-twain-webcam/how-to-scan-documents-in-php/) and see if it helps. – Rachel Dec 09 '14 at 06:01
  • Thanks for your response. The problem is that the cost to use the 3rd party client side is quite high, which why I am either looking into an open source solution, or maybe I way I could code it myself in Java or in PHP – jon220 Dec 12 '14 at 20:22

1 Answers1

0

A scanner (the hardware) is connected to the computer of the client. The OS uses a driver to work with the scanner. For most scanners this would be a TWAIN driver:

http://www.twain.org

Software on the computer can connect to the API of this TWAIN driver and collect data from the scanner.

You want to access the scanner, more or less, through the browser of the client. This is only possible after the installation of some software on the computer of the client.

Have a look here:

http://www.codeproject.com/Articles/10518/NET-Web-Twain

There are other option, just google a bit.

KIKO Software
  • 15,283
  • 3
  • 18
  • 33
  • Thank you for your prompt response, and clarification. I wanted to avoid .NET as its a bit outdated. – jon220 Dec 06 '14 at 23:36