Here are the scripts that I'm using, and the result.
?php
// Designate the text file
$filename = 'output.txt';
$pointer = fopen("$filename","w") or die("Could not open $filename");
// Open the text file
$handle= fopen($filename,'a');
// Write the message to the text file
fputs($handle, "$content");
// Close text file
fclose($handle);
?
This works perfectly, but when I shoot a value like this at it:
<font color="blue">Centered Text Here!</font>
This is what it writes to the text file:
<font color=\"asdf\">Centered Text Here!</font>
Is there something wrong with my script that won't allow "" to be used?