1

I am working on a php script that corrects file attachments. One of the cases I need to handle is winmail.dat type.

I found this solution, however I have no access to shell and the php environment I am working with is restricted and does not allow shell_exec.

Is there any other way of converting this type of file to a readable text file using php only?

Community
  • 1
  • 1
Luke G
  • 1,741
  • 6
  • 23
  • 34
  • if `shell_exec` disabled form `php.ini` you cannot use this function on the server. you have to contact your host to enable it – Kodr.F Aug 24 '14 at 12:10
  • Unfortunately, this option is out of the question due to the nature of the environment. – Luke G Aug 24 '14 at 12:12
  • You might be able to use a web service in your environment, like http://tud.at/php/tnef/index.php – bishop Aug 24 '14 at 12:15

0 Answers0