Create an Exchange Configuration Profile using PHP

This is some pretty rough and ready POC code for making a .mobileconfig using PHP to install an Exchange account on an iOS device.