shell bypass 403
<div id="error_del_team"></div> <table class="table table-bordered table-striped table-hover" style="background-color:white;" id="table_direc"> <thead> <tr> <th>#</th> <th>Team Image</th> <th>Edit</th> <th>Delete</th> </tr> </thead> <tbody> <?php include('../config/config.php'); $sql = "SELECT * FROM teams "; $res = $conn->query($sql); $n = 0; while($row = $res->fetch_assoc()){ ?> <tr> <td width="5%"><?php echo ++$n; ?></td> <td width="20%"><?php echo '<img src="'."../".$row['t_image'].'" width="100%" class="img-responsive"/>' ?></td> <td width="5%"><a href="edit_team.php?q=<?php echo $row['t_id']; ?>" class="btn btn-success edit_team" atr="">Edit</a></td> <td width="5%"><button class="btn btn-danger del_team" atr="<?php echo $row['t_id']; ?>">Delete</button></td> </tr> <?php } ?> </tbody> </table> <script src="dist/js/jquery.validate.min.js"></script> <script src="http://malsup.github.com/jquery.form.js"></script> <script> $(function () { $('#table_direc').DataTable({ 'paging' : true, 'lengthChange': true, 'searching' : true, 'ordering' : true, 'info' : true, 'autoWidth' : true }) }) $(".del_team").click(function(){ var q = $(this).attr("atr"); if(confirm('Warning confirm delete Team !!! ')){ $.ajax({ url:"del_team.php", type:"post", data:{q:q}, }).done(function(data){ if(data == 1){ $("#error_del_team").html('<div class="alert alert-danger">Delete Team complete</div>').fadeIn(1000).delay(1000).fadeOut(function(){ $("#table_team").load('table_team.php'); }); }else{ console.log(data); return false; } }); }else{ console.log(data); return false; } }); </script>