However, you have to be very careful - you may end up opening up your server to all sorts of bad things if you don't encode $value for all contexts, like HTML, MySQL, etc. Consider hiring somebody to at least walk you through the potential issues with handling raw HTML. If you want to do it yourself, read about HTML/URL/JS encoding, XSS and SQL injection vulnerabilities.
It would be much better for you if you use an existing CMS instead of trying to write some code. Free or commercial one, which ever you want, but it will have all the features that you can ever think of and it will work. In the end you will save a lot of money (if you get a free one don't forget to make a donation).
FCKeditor produces HTML. What you do with this HTML is up to you. Try asking for help in CMS forums. Look for these things: SQL encoding/injection, HTML/URL/JavaScript encoding, character sets.
Re: HTML DISPLAYED PLEASE HELP
Re: HTML DISPLAYED PLEASE HELP
so remove all of this?
if ( get_magic_quotes_gpc() )
$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
else
$postedValue = htmlspecialchars( $value ) ;
also how do I get the edit to stay on the page I edited?
the page displays but the content dissappears.
help.
thanks in advance.
Re: HTML DISPLAYED PLEASE HELP
<?php echo $value ?>
However, you have to be very careful - you may end up opening up your server to all sorts of bad things if you don't encode $value for all contexts, like HTML, MySQL, etc. Consider hiring somebody to at least walk you through the potential issues with handling raw HTML. If you want to do it yourself, read about HTML/URL/JS encoding, XSS and SQL injection vulnerabilities.
Re: HTML DISPLAYED PLEASE HELP
Re: HTML DISPLAYED PLEASE HELP
Re: HTML DISPLAYED PLEASE HELP
maybe all of you can help.
what I was originally looking for was a wysiwyg that would work with a blackberry.
fck editor seemed to be one of the ones that did.
any suggestions on how to use it and be secure and still work in a blackberry.
thanks for your help.
Re: HTML DISPLAYED PLEASE HELP