Forum Moderators: coopster
I have achieved this, however there is a problem... My server seems to run magicquote and is adding slashes throught the links! which I don't mind except I cannot for the life of me figure how to use the stripslashes command! Obviously this renders the links useless!
heres the php from stage 6 which is where I assume I would have to add strip slashes...somehow.
ANY HELP GRATEFULLY RECIEVED! but please spell it out for me im not the sharpest tool in the box. thanks.
<?php
//posts the amended data from the Html form
$content1_txt = $_POST['content1_txt'];
//create and open the text file
$fp = fopen("htmlnews.html","w+");
//if u can't create or open the file say error if not say...
if(!$fp) {
echo 'Error, the file could not be opened or there was an error creating it.';
exit;
}else { echo 'Your content has been saved.';
}
//put data from the form into the text file
fwrite ($fp, $content1_txt);
?>
}
?>
}