Hi!
I have created a a php-script for creating and editing html docs, including tags with properties, a file could be something like this:
<BODY text="black">
<FONT FACE="arial" SIZE="7">blablabla</FONT>
</BODY>
I open the file using standard
$fd = fopen($filename,"r
$content = fread($fd,filesize($filename));
$fclose();
(or something like that..)
Then I edit the file, and uses fwrite to put the info back to the file again, but when I try to view the source code to the HTML file after the editing, it looks like this:
<BODY text=\"black\">
<FONT FACE=\"arial\" SIZE=\"7\">blablabla</FONT>
</BODY>
I DON'T WANT THOSE SLASHES!!! How can I prevent them?
with ereg_replace(); or str_replace(); ? please help me!
Thank you
Bruce Squires