in the model file I get some post data from a form:
Code: Select all
$data = JRequest::get( 'post' );
In the controller.php I get the model and store it to the database:
Code: Select all
$model = $this->getModel( 'form' );
if ($model->store())
{
$msg = JText::_( 'Empfehlung gesendet' );
} else ...
After looking into the database I see that html tags are stripped, but backslashes are still there. Do I have to do something like "addslashes" to make it secure or is this safe enough?
Thanks for your answers and reading my bad english. I hope that you are understanding what I mean.
Papi