louisb wrote:I am having a small problem while updating a text file, using fputs();
Any quotes or double quotes within the $main variable (which is written to the file) have a preceding backslash added to them.
The $main variable has been passed from a form textarea.
Does any have any idea why this is or what I have done wrong.
echo("Could not open file for writing!");
What is OS you use?
It's very important!