debug
This commit is contained in:
parent
cf04f5c64c
commit
279b720503
@ -5,6 +5,8 @@ require_once 'db.class.php';
|
|||||||
require_once 'entete.php';
|
require_once 'entete.php';
|
||||||
require_once 'fonctions.inc.php';
|
require_once 'fonctions.inc.php';
|
||||||
|
|
||||||
|
echo "session ID " . SID;
|
||||||
|
|
||||||
$path = $_SERVER["PHP_SELF"];
|
$path = $_SERVER["PHP_SELF"];
|
||||||
$db = new db();
|
$db = new db();
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ function votesForm($path, $libelle = "", $method = 0)
|
|||||||
foreach ($methods as $value)
|
foreach ($methods as $value)
|
||||||
{
|
{
|
||||||
$id = $value["id"];
|
$id = $value["id"];
|
||||||
if ($id == $method)
|
if ($id == $method)/saisieVotes.php
|
||||||
{
|
{
|
||||||
print('<option value ="' . $id . '" selected>' . $value["libelle"] . '</option>' . EOL);
|
print('<option value ="' . $id . '" selected>' . $value["libelle"] . '</option>' . EOL);
|
||||||
}else
|
}else
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
if (empty(session_id()))
|
|
||||||
{
|
|
||||||
ini_set('session.use_strict_mode','true');
|
ini_set('session.use_strict_mode','true');
|
||||||
ini_set('session.cookie_secure','true');
|
ini_set('session.cookie_secure','true');
|
||||||
ini_set('session.hash_function','md5');
|
ini_set('session.hash_function','md5');
|
||||||
ini_set('display_errors', 1);
|
ini_set('display_errors', 1);
|
||||||
ini_set('display_startup_errors', 1);
|
ini_set('display_startup_errors', 1);
|
||||||
ini_set('serialize_precision', 8);
|
ini_set('serialize_precision', 8);
|
||||||
//$cookiesparams = session_get_cookie_params();
|
$cookiesparams = session_get_cookie_params();
|
||||||
//session_set_cookie_params ( 0, $cookiesparams["path"], $cookiesparams["domain"], true, true );
|
session_set_cookie_params ( 0, $cookiesparams["path"], $cookiesparams["domain"], true, true );
|
||||||
}
|
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
Reference in New Issue
Block a user