Jump to content

Allowing PHP to use COM ports


Kurrel

Recommended Posts

Hi everyone,

 

I don't know if this belongs here or in the installation forums, but here goes :

 

How do I allow my PHP code to access a COM port?

 

When my web page loads from the server it tries to access the device on the local machine attached to the USB port COM3.  It sees it as being there, but gets permission denied from the device.  I am not certain whether this is something that needs to be set on the local machine, the serving machine or in the code of the web page.

 

The server is Linux and the host machines are Windows.

Link to comment
https://forums.phpfreaks.com/topic/77106-allowing-php-to-use-com-ports/
Share on other sites

No way at all to work with the com ports on the client machine?

 

For more specific explanation, we are working with several computers that will have a scanner attached.  The hope was that by simply opening a browser we could collate several reading together directly rather than waiting for the computers to compile at day- or week-end.

 

The idea being that each computer would need only the scanner and a network connection rather than deployed software.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.