Detected 1 occurrence(s) of ‘mysql_[p]*connect\(["']{0,1}[a-z0-9\-\.]+["']{0,1}\s*,’: hp $.post( "events.php", { action: "del", id: calEvent.id }); $calendar.weekCalendar("removeEvent", calEvent.id); $dialogContent.dialog("close"); } <?php $action = $_POST['action']; if (!$link = mysql_connect('host', 'user', 'pass')) { echo 'Could not connect to mysql'; exit; } if (!mysql_select_db('agenda', $link)) { echo 'Could not select database'; exit; } if ($action == 'del') { $id = [...]
↧