Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to send an SMS via a 3G Modem with php, but I can only access com1. I can't access com3 (the 3G modem) because it's a virtual serial port.

Does anyone know how to access a virtual serial port using PHP?

share|improve this question
add comment

1 Answer

All serial ports should be accessible the same way, virtual or not.

If accessing COM3 does not work, try COM3: or \\.\COM3 – as in fopen("\\\\.\\COM3", ...).

share|improve this answer
    
i do not need to set something in php.ini or httpd.conf? u already did it? –  Kuby Dec 1 '11 at 23:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.