shell bypass 403
<?php
$q = $_POST['q'];
include('../config/config.php');
if($q != "" || $q != null){
$sql = "SELECT * FROM projects WHERE p_name like '%".$q."%' ";
$res = $conn->query($sql);
$num_row = $res->num_rows;
if($num_row > 0){
while($row = $res->fetch_assoc()){
echo "<a href='IV_PROJECT.php?q=".$row['p_id']."' style='font-size:30px;'>".$row['p_name']."<p style='margin-top:-15px;'>".$row['p_location']."</p></a>";
}
}else{
echo "<a href='#' style='font-size:30px;'>No Project Searching...</a>";
}
}
?>