Before I begin, excuse me for my bad english...
I'm programming a PHP website on my desktop pc (Windows XP, working in Notepad++). The files ar located on a local webserver (Linux Red Hat 9). When I edit the files with my desktop pc and save them, the don't work anymore on Linux webservers. What I found out was that the breaks or white lines in the page are replaced by ^M as soon as I save a file.
Looks like there is something going wrong with the conversion from windows to Linux. The weird thing is, that I don't see these characters when opening the file in windows, it all seems just fine, but when opening them with VI editor in Linux or widnows own notepad... You got the point I guess.
Does anybody know what the problem is and how to solve it? I've tried several editors, but I can't seem to find a answer to this problem.
Thanks in advance.
---------------
Visit Stray Cats Fan!! Go Cat!! Go!!
I'm programming a PHP website on my desktop pc (Windows XP, working in Notepad++). The files ar located on a local webserver (Linux Red Hat 9). When I edit the files with my desktop pc and save them, the don't work anymore on Linux webservers. What I found out was that the breaks or white lines in the page are replaced by ^M as soon as I save a file.
Looks like there is something going wrong with the conversion from windows to Linux. The weird thing is, that I don't see these characters when opening the file in windows, it all seems just fine, but when opening them with VI editor in Linux or widnows own notepad... You got the point I guess.
Does anybody know what the problem is and how to solve it? I've tried several editors, but I can't seem to find a answer to this problem.
Thanks in advance.
---------------
Visit Stray Cats Fan!! Go Cat!! Go!!