Jump to content

Sending a fax from a web page


Voodoo Jai

Recommended Posts

if your running php on a nix box using w/ a fax or modem u can use HylaFax http://www.hylafax.org/content/Main_Page free btw

and use this script:

// Create a temp file to store the message in
$tmpfname = tempnam ("/tmp", "FOO");

$fp = fopen($tmpfname, "w");
fwrite($fp, $this->message);
fclose($fp);

// Call Sendfax:
// Note the "0,," hack to get an outside line
$command = "/usr/local/bin/sendfax -n -d \"0,,".$phone_number."\" -f \"From Name, Number\" $tmpfname";

exec($command);

unlink($tmpfname);

 

if you dont wanna go that way:

 

you can use a service.

 

such as:

http://www.interfax.net/en/dev/webservice/

My web server hosting does not support the sending of faxes directly.

 

So could the order be emailed to me and a fax sent from my pc through my fax machine. If so how would I take the email and fax the order to the third party.

 

Complicated walk around.

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.