Hi there I have a form that send my data from admin panel. it has one input that represent title of my site
<form class="form-horizontal form-bordered" enctype="multipart/form-data" method="POST">
<input type="hidden" id="do" name="do" value="save">
<input value="site title" type="text" class="form-control" id="sitename" name="sitename" placeholder="">
<button type="submit" class="btn btn-success">save</button>
</form>
and use this to submit the form in my database
switch($_GET['do'])
{
default:
$this->updateSettings( array(
'sitename' => $this->secureInput($_POST['sitename'])
) );
break;
}
public function updateSettings($settingsArr)
{
foreach($settingsArr as $varname => $value)
$this->query("UPDATE ".TP."settings SET value = '$value' WHERE varname = '$varname'");
}
this form works fine if I entered an english title in the input but if I entered arabic title in it, it give me a page
Forbidden You don't have permission to access /adminpanel on server
how to solve this problem