A client asked for a web to fax application written in php. But I have no idea how to do this.
I believe php or any other web application can't communicate with the modem directly. So there should be some sort of service or daemon handling the job and be the line between web interface and modem.
Tried googling things a bit and some words like HylaFAX
and AvantFax
came out. Still can't figure out.
I prefer writing the web interface myself to have custom language support and better user experience.
So in the end what I am asking is how to achieve a web to fax application from scratch. From setting up server and making the web application. Even some directions would help.
Install HylaFAX and invoke the sendfax command-line options through PHP's exec or system calls.
If your customer is flexible, DeliveryWare may be a good alternative.
Other than learning PHP, interfax looks pretty simple.
EDIT If you don't already have a server setup, you'll probably want to go with a LAMP stack. An install of Ubuntu Server should do the trick.
Please be sure to let everyone know what solution you eventually choose. With e-mail and the invention of the google machine, I imagine there's not such a need for fax anymore.