{NOTE . = space}
I made a script to allow me to edit my webpages online through a text area in my cgi script but I've run into a problem. For whatever reason the text area seems to put spaces in front of each line {except for the first} so,
line one
line two
line three
becomes
line one
.line two
.line three
next time it becomes
line one
..line two
..line three
eventually it winds up being like
line one
............... ............... .........line two
............... ............... .........line three
Its made a mess of my files.
Is there a way to process the input from the text area to remove all of the spaces before the start of the lines?
I'm hoping that I can get it worked out so while using the script my pages will wind up like it was to start with.
Thanks, any help would be greatly appreciated :)
John