Ce ne sont "que" des avertissements...
J'ai regardé le code...et il est mal conçu...
Par exemple.. avant d'utiliser des variables provenant des SESSION ou des variables GET / POST ( ou REQUEST) il vaut mieux s'assurer qu'elles existent...
Pour ce faire il faut utiliser ISSET()
Par exemple.. dans le fichier index.php ligne 27
/*
if($_SESSION['login']){
*/
// A remplacer par:
if(isset($_SESSION['login'])){
Autre exemple:
Dans le fichier messagerie.php ligne 134
/* if( $_GET['rep'] ){
if ( $_GET['rep'] == $_SESSION['login'] ){
*/
// A remplacer par :
if( isset($_GET['rep']) && isset( $_SESSION['login'] ) ){
if ( $_GET['rep'] == $_SESSION['login'] ){
Enfin bon.. Tu peux désactiver ces avertissements en modifiant ton fichier de conf PHP.ini
error_reporting = E_ALL & ~E_DEPRECATED
16 avril 2014 à 15:33
( ! ) Notice: Undefined index: login in C:\wamp\www\msg\index.php on line 27
Call Stack
# Time Memory Function Location
1 0.0011 377456 {main}( ) ..\index.php:0
( ! ) Notice: Undefined index: conexion in C:\wamp\www\msg\index.php on line 37
Call Stack
# Time Memory Function Location
1 0.0011 377456 {main}( ) ..\index.php:0
( ! ) Notice: Undefined index: eff in C:\wamp\www\msg\messagerie.php on line 57
Call Stack
# Time Memory Function Location
1 0.0023 418400 {main}( ) ..\messagerie.php:0
Emetteur Tite Envoyé le ordre" Suppression
Vous n'avez aucun message désolé !
Recherchez un membre pour lui envoyer un message
Recherche
( ! ) Notice: Undefined index: rep in C:\wamp\www\msg\messagerie.php on line 134
Call Stack
# Time Memory Function Location
1 0.0023 418400 {main}( ) ..\messagerie.php:0
( ! ) Notice: Undefined index: envmail in C:\wamp\www\msg\messagerie.php on line 154
Call Stack
# Time Memory Function Location
1 0.0023 418400 {main}( ) ..\messagerie.php:0
) Notice: Undefined index: login in C:\wamp\www\msg\enregistrement.php on line 23
Call Stack
# Time Memory Function Location
1 0.0005 380192 {main}( ) ..\enregistrement.php:0
( ! ) Notice: Undefined index: inscription in C:\wamp\www\msg\enregistrement.php on line 34
Call Stack
# Time Memory Function Location
1 0.0005 380192 {main}( ) ..\enregistrement.php:0
Et je pense que j'en est oublier..