Index du Forum » » Version future

Auteur

REvolution 16.0
nicolas2
573      
 

  Posté : 01-02-2020 21:40

fichier admin authors dans la function updateadmin()



if (!($chng_aid && $chng_name && $chng_email))
      Header("Location: admin.php?op=mod_authors");
      !!!include!!!_once('functions.php');
      if(checkdnsmail($chng_email) === false) {
         global $hlpfile;
         !!!include!!!("header.php");
         GraphicAdmin($hlpfile);
         echo error_handler(adm_translate("ERREUR : DNS ou serveur de mail in correct").'
');
         !!!include!!!("footer.php");
         return;
      }



dans le contrôle du if il y a un header location donc le code qui est après n'est jamais exécuter ! pourquoi ce code juste après

pour moi ce header location ne devrai pas être présent sinon le contrôle sur le checkdnsmail() n'est pas exécuter.



Header("Location: admin.php?op=mod_a uthors");


Message édité par : nicolas2 / 01-02-2020 21:45




Cet article provient de NPDS

http://www.npds.org/viewtopic.php?topic=26698&forum=4