Jeez! I am fully impressed with your coding skillage! However, due to some more insane googling, I found the fix, and it's pretty darn simple!
BACKUP and then...
find . -type f -name *.php -exec dos2unix {} \;
or
find . -type f -name *.inc -exec dos2unix {} \;
etc - this assumes your server has dos2unix!
--
<http://forum.pspad.com/read.php?2,42527,42531>
PSPad freeware editor http://www.pspad.com
