By far the most requested new feature in the last two months was the ability to encrypt all traffic between phpLiveDocx and the backend service LiveDocx.
I am very happy to let you know that the LiveDocx guys have just implemented this in their service and that I have also updated the Tis_Service_LiveDocx_* classes. As of phpLiveDocx version 1.0-20090421, you can now specify in the constructor whether or not to use SSL.
Connect to LiveDocx with SSL
The default is to connect with SSL:
$mailMerge = new Tis_Service_LiveDocx_MailMerge('username', 'password');
Alternatively, you can explicitly specify to use SSL (note new third parameter):
$mailMerge = new Tis_Service_LiveDocx_MailMerge('username', 'password', true);
Connect to LiveDocx without SSL
If, for whatever reason, you do not want to use SSL, specify false:
$mailMerge = new Tis_Service_LiveDocx_MailMerge('username', 'password', false);
However, please remember, if you do not use SSL, all traffic between your application and the backend service is transmitted unencrypted and potentially can be read by any man in the middle. You should therefore not allow personal or financial data to be entered into your application, if you choose to not encrypt all traffic.
You can download the current version with SSL support from the download section.
As ever, feedback and comments are welcome!
Updated on May 15, 2009: As of phpLiveDocx 1.0-200905015 all traffic with LiveDocx is over SSL. SSL may no longer be de-activated. The third parameter of the constructor, as described above, has been removed again.