Made to Order Software Corporation Logo

PHP eFax

PHP eFax requires "ssl://" on RedHat EL7 and Ubuntu

We found out today that RedHat LE7 requires the use of the "ssl://" protocol instead of the default "tls://". The error we are getting from PHP looks like this:

PHP Warning:  stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version in .../lib/http_request.php on line 294
PHP Warning:  stream_socket_client(): Failed to enable crypto in .../lib/http_request.php on line 294
PHP Warning:  stream_socket_client(): unable to connect to tls://secure.efaxdeveloper.com:443 ...

The set_fax_id() function PHP e-Fax must be given unique IDs, each time.

Fax button on an old type of fax machine

The PHP eFax system uses a class that ease the communication between your software and eFax. The developer system is not too complicated, but there are tricks to it and the class hides most of them.

Today a customer contacted us as they just purchased a copy of our PHP library and had problems sending faxes. The fact is that they used the set_fax_id() function with a hard coded string. Imagine doing something like:

$efax->set_fax_id("Test Fax");

This looks pretty good, only after the second time the sending of the fax will fail because eFax considers that it was already ...

PHP eFax FAQ

PHP eFax is very popular and generates many questions from our customers and potential customers. We try to answer those questions on our website for a quick read from our users. You can always ask us additional questions by contacting us directly or by posting a comment on the FAQ page.

Made to Order Software releases PHP eFax 1.3

Made to Order Software just released PHP eFax 1.3 adding one instruction to let eFax Developer know once an inbound message was received.

If you had version 1.2 or 1.1, please upgrade to 1.3 to get the full functionality that PHP eFax has to offer.

Alexis Wilke
CEO
Made to Order Software Corporation

Testing PHP properly...

I have been wondering, for a little while, how can I properly test my PHP code?! Only my server can run it, right? Well, no, there is CLI. Okay, but how can I make that work in there?

The best answer I’ve got so far: simpletest. This PHP library let you write a test a la C++. You simply create a class derived from a SimpleTest class, and voilà. You are done. Well… you still have to implement test functions. But that is still a breeze.

I used this library to test the PHP eFax classes and got about 4 bugs out (not too bad, considering I wrote over 1,000 lines of code and ...

PHP eFax v1.1 released

In 2007, Made to Order Software created a software package to support the eFax protocol using PHP. Early in 2008, we offered the package for your developers to send faxes from your web server in just minutes anywhere in the world. Now, we offer PHP eFax version 1.1 that not only sends faxes, it also parses inbound faxes with a single call to the PHP eFax object.

eFax® is a company offering a reliable system to send and receive faxes cheaply. Their system works with the Internet and thus is directly accessible to your web server.

This newer version includes Unit Tests that are used to ...

PHP eFax available on our website!

 

I’m glad to announce that PHP eFax is now available for sale on our site. For only $95, you can send faxes within minutes.

It took me a whole week to program that object and a lot of testing. Yes, I sent a lot of faxes before to make it work properly.

If your company needs to send faxes via their website (or their customers website) it can easily save money here! By getting PHP eFax, you won’t need to program anything, really. All you need is to set the fax data in an object and call send(). In minutes you will be sending faxes. You can see a sample here:

...

Made to Order Software announces PHP eFax

Made to Order Software created a new software package to support the eFax protocol using PHP.

eFax® is a strong and still growing company providing a very fast and reliable system to send faxes cheaply nearly anywhere worldwide. Their system works with the Internet and thus is accessible to your website.

PHP is a powerful language used to program Internet Websites. It has many features to handle dynamic pages as required by today's corporate world. PHP comes with very many free libraries and also many enhancements offered by companies.

Made to Order Software combined both: the eFax ...