I thought so, what about using something like the code below. I have tried it but get a "Automation server can't create object" in IE
Main Topics
Browse All TopicsI have a PHP web application that works sort of like a Point-of-Sale. I need to write a string to COM4 on the users computer where we have a LD9000 LED Display pole. I can write strings to the LED Display pole via cmd.exe but I am not really sure how to do this via PHP on a linux hosted web application.
Any help is greatly appreciated.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hey gr8gonzo,
Thanks for another response. I had already awarded you the points for your answer.
I actually did get something working as follows. I have to drop the security level to write this file but our users have very limited access to the Internet anyways.
Then we just pipe the file to the com port Works good so far.
Yes, I know, but it didn't seem like you had the question fully answered yet (although I still appreciate the points). It does sound like you have a solution now, though.
One other thing to consider - at one point I was writing some web apps that had to communicate to a security system via remote serial ports, and I found a company called Eltima that did some ethernet-to-serial programs. It was several years ago so I can't remember which product I used, but basically the program listened on a network port and then passed data onto that same computer's serial port and back. Thus, I could interact with the remote serial port by simply knowing the IP address and opening a network socket to it. Not sure if that's an option for you, but it worked pretty well.
Business Accounts
Answer for Membership
by: gr8gonzoPosted on 2009-10-19 at 10:36:39ID: 25607237
PHP can only access the COM ports of the server that is running the application (via the /dev/ttyS# pipe, like /dev/ttyS0 for COM0, /dev/ttyS1 for COM1, etc). If you want to access the COM ports of the VISITOR's computer, then you'll need them to have some sort of browser plug-in or ActiveX control installed that can do that. Or maybe a Java applet (not sure if Java applets can access COM ports).