LOL, well it's good to know I at least have it doing the write thing even if it's not what I want. 🙂
<?php
@extract($_POST);
if(is_writable('news.txt'))
{
$fp = fopen('news.txt','a');
$content = "\n $dateformat1$date$dateformat2$headerformat1$header$headerformat2$body";
fwrite($fp,$content);
fclose($fp);
echo'your changes have been made';
}
else
{
echo'File is not writable';
}
?>
go to http://www.kodisdesign.com/dev/news.html to see how I setup the form.
All I'd like to see happen is to have the code out put without the extra /'s added in. 🙂 The reason being is that when flash reads the text file back in it's going to messup the html formatting.
hope this all makes sence.
p.s.
I've been trying to make heads or tails of this
http://us4.php.net/stripslashes I think it may be the answer but I don't know how to institute it. 🙂