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!");
Users browsing this forum: Bing [Bot] and 1 guest