Hi all, What should i do for secure $_post;
I used to define a var :
I used to define a var :
Code:
$comment=$_POST['comment'];
if ((!$_SESSION['start']) || ($_SESSION['start']=="") || ($_SESSION['start']==null)){
echo 'You do not have permission to perform this action';
}
else {
MYSQL QUERY
}
Comment