A friend and I are both working with the same PHP files. One of us makes changes to the code, ftp's the files to a web server, where the other downloads the same file, makes changes and ftp's it back to the server. We've been noticing that, when we're doing this, we get an additional line break (hard return) for each line that exists in the file. If we have 50 lines of compacted code (meaning no line spacing) and go through this process 1 time we end up with 100 lines. If we run through it again we get 200 lines, etc... We are both using Dreamweaver right out of the box...same ver (6.0 MX), same settings. If one of us works with the file and the other doesn't touch it there are no problems. Either one of us can grab the file, upload it, download it, re work it, and repeat the process without any problems but when the two of us work on it we get the same problem. Does anyone know what's giong on?
Try testing out different text programs like Notepad, Wordpad, etc. and see if you problem is still occurring, it may just be Dreamweaver. Ive only ever used Wordpad, so I have no experience with Dreamweaver.
I know you said that you're using the same settings, but are you using the same operating systems? It sounds like one of you is set up to use Windows line ends while the other is using UNIX line ends. Windows line ends are \r\n while UNIX only uses \n. When expecting UNIX line ends, the Windows ones will get interpreted as two line ends, essentially...
can I rant here? [rant]dreaweaver sucks [/rant] Check out a free text editing program such as notepad, wordpad, or notepad2