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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now