How do I remove the "\" before the special characters when writing files in PHP?

  • Thread starter Thread starter Rockstar
  • Start date Start date
R

Rockstar

Guest
I have created a function for writing HTML files, but when the file is written, it replaces all the escape characters such as ', #, $, with \', \#, and \$. How can I get around that? Does that have something to do with "Magic Quote"? If so, I'm not writing mySQL or anything, so it doesn't need to worry about that.
 
try using stripslashes you can find more about it here:

http://uk3.php.net/stripslashes
 
Back
Top