Hi,
I'm using PHP code to develop a www interface to let users edit text
files stored on a Solaris UX server. Users are using Windows based
WWW browser access this web site. Once they have selected the file
they want to edit, it's presented in a text window (form) so thay can
modify the file.
The submit button passes the contents of the field to a variable and
it is saved to disc.
From the WWW interface everything seems OK, but when I look to the
file, each line has a "^M" (control-M) at the end.
This makes the files bigger and it can cause problem in a near future
because these files have to be processed by shell scripts to populate
a mySQL DB.
Someone has seen that before and what was the solution.
Thanks,
Alain