Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1471 connectés 

  FORUM HardWare.fr
  Programmation
  PHP

  Ca marche aussi?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Ca marche aussi?

n°1287669
cvex
$CveX
Posté le 19-01-2006 à 16:41:15  profilanswer
 

Saluttt!!!
 
J'aimerais savoir si ça :
 

Code :
  1. session_start();
  2. if(session_is_registered("authentification" ))
  3. {
  4. }
  5. else
  6. {
  7. header("Location:index.php?erreur=intru" ); // redirection en cas d'echec
  8. }


 
est égal à ça :
 

Code :
  1. session_start();
  2. if(!session_is_registered("authentification" ))
  3. {
  4. header("Location:index.php?erreur=intru" ); // redirection en cas d'echec
  5. }


 
Et savoir si il n'y a pas de problème de sécurité?
 
Merci de vos suggestions :)


---------------
http://forum.hardware.fr/hardwaref [...] 1293-1.htm
mood
Publicité
Posté le 19-01-2006 à 16:41:15  profilanswer
 

n°1287742
sielfried
Posté le 19-01-2006 à 17:29:46  profilanswer
 

C'est la même chose, sauf que la première version est moche.
 
Les deux sont périmées, ceci dit.
 
isset + $_SESSION.
 


---------------
StarCraft Professional Gaming Database | [Ze Topic] Starcraft/BroodWar

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  PHP

  Ca marche aussi?

 

Sujets relatifs
[Résolu]Fonction Pos : mon code ne marche pas[Java] Process marche sous windows, pas sous linux
select * from table where nom = ' "+string+"' n marche pas en datagridFonction FormulaR1C1 qu ine marche pas tout les jours
Requete qui marche sur myadmin mais pas en phpL'authentification HTTP : comment ça marche exactement ?
[Résolu] isset qui veut pas marché :(.bat dans un package qui ne marche pas ?
un fonction Command_Line_To_String qui marche pas [résolut]php marche en local mais pas chez free ? ?
Plus de sujets relatifs à : Ca marche aussi?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR