Browse Source

htmlentities

master
n0m1s 10 years ago
parent
commit
1ce1077e99
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      eventAdded.php

+ 3
- 3
eventAdded.php View File

@ -2,11 +2,11 @@
include_once('databaseOperations.php'); include_once('databaseOperations.php');
include('datetimeOperations.php'); include('datetimeOperations.php');
$db = connect(); $db = connect();
$titre = $_POST['title'];
$localisation = $_POST['address'];
$titre = htmlentities($_POST['title']);
$localisation = htmlentities($_POST['address']);
$dtstart = strtotime($_POST['dtstart']); $dtstart = strtotime($_POST['dtstart']);
$dtend = strtotime($_POST['dtend']); $dtend = strtotime($_POST['dtend']);
$description = $_POST['description'];
$description = htmlentities($_POST['description']);
$url = $_POST['site']; $url = $_POST['site'];
$urlImage = $_POST['urlImage']; $urlImage = $_POST['urlImage'];
$contact = $_POST['contact']; $contact = $_POST['contact'];


Loading…
Cancel
Save