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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.