^M characters
Posted: Sat Jan 19, 2002 5:29 am
Well ... some of the simplest errors can cause great frustration.
I have been pulling out what little hair I have left over a couple of PHP files I created using TextPad ... and finally, after sticking them on a disc and throwing them in my Linux machine using that every handy dandy editor ... vi ... I can see the one file that my webserver is constantly belching out a 500 Internal Server Error is riddled with Windows carriage returns (^M). I thought TextPad was a pure text editor ... no windows characters! I have looked thru the preferences to make sure there is no "Turn off Windows Carriage Return" settings but have not found anything. Does anyone out there know why TP would do that to one of the files???
Thanks
LarryG
I have been pulling out what little hair I have left over a couple of PHP files I created using TextPad ... and finally, after sticking them on a disc and throwing them in my Linux machine using that every handy dandy editor ... vi ... I can see the one file that my webserver is constantly belching out a 500 Internal Server Error is riddled with Windows carriage returns (^M). I thought TextPad was a pure text editor ... no windows characters! I have looked thru the preferences to make sure there is no "Turn off Windows Carriage Return" settings but have not found anything. Does anyone out there know why TP would do that to one of the files???
Thanks
LarryG