If you happened to see ^M at end of every line of your code, it's a real pain. You can remove the character from the file somehow.

from your command line (Linux)

1) sed -e 's/^M//g' index.php > ind.php
[ ctrl v + ctrl M would give your ^M char on command line ]

2) mv ind.php index.php

Now, your index file is free of ^M characters. Enjoy coding.

0 comments



Some Links (off programming)