0x1998 - MANAGER
Edit File: reponse_sms.php
<?php $link=mysqli_connect('ga804575-001.dbaas.ovh.net', 'u_db_samu', 'mjNhM9N59','samu',35451); if (isset($_GET['MESSAGE'])) $message=$_GET['MESSAGE']; if (isset($_GET['RET_ID'])) $ret_id=$_GET['RET_ID']; //if (isset($_GET['statut'])) $statut=$_GET['statut']; if (isset($_POST['MESSAGE'])) $message=$_POST['MESSAGE']; if (isset($_POST['RET_ID'])) $ret_id=$_POST['RET_ID']; if (isset($ret_id)) { $message= addslashes($message); mysqli_query ($link,"insert into received (ret_id,date,message) value ('".$ret_id."',now(),'".$message."')"); } mysqli_close($link); ?>