Hello,
I got a problem with writing to a text file, everytime i try to write
a url to file it gets replaced, for example i post:
<a href="http://www.google.com" >google.com</a>
and i get:
<a href=\"http://www.google.com\ ">google.co m</a>
Is there anyway to write " " " to a file without it being replaced by " \" "?
====
winxp
====
$post = $_REQUEST["post"];
$fp = fopen("myfile.t xt", "w" );
fwrite( $fp, $post,strlen($p ost));
fclose( $fp );
====
Thank you very much!
I got a problem with writing to a text file, everytime i try to write
a url to file it gets replaced, for example i post:
<a href="http://www.google.com" >google.com</a>
and i get:
<a href=\"http://www.google.com\ ">google.co m</a>
Is there anyway to write " " " to a file without it being replaced by " \" "?
====
winxp
====
$post = $_REQUEST["post"];
$fp = fopen("myfile.t xt", "w" );
fwrite( $fp, $post,strlen($p ost));
fclose( $fp );
====
Thank you very much!
Comment