willisoften Posted February 18, 2006 Report Share Posted February 18, 2006 Using transformToURI() to create a text file $xslt_parse->transformToURI($xml_obj,$uploadDir.'output.txt'); Some users will be using Linux and some Windows. Currently using Apache on a Windows XP machine as specified. File is created but is full of the little square characters (linefeed / carriage return) Has anyone got a code snippett that will convert a file from unix to dos? I've racked my brains and searched like a mad searching thing and never yet twigged it. Help appreciated - online tutorial is good too. I'm a bit brain-fnookered at the moment so something pretty specific is required. Thanks Will Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.