Jump to content

PHP linefeeds and carriage returns

Recommended Posts

Using transformToURI() to create a text file




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.





Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...