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

  FORUM HardWare.fr
  Programmation

  script : syntaxe php pour rajouter une redirection

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

script : syntaxe php pour rajouter une redirection

n°143635
Bitman
Minorité Opprimée
Posté le 23-05-2002 à 22:31:53  profilanswer
 

je connais pas du tout la syntaxe du truc mais j'aimerais rajouter qqchose a mon forum pour les ban :
 
if ( $ban_info = $db->sql_fetchrow($result) )
 {
  if ( $ban_info['ban_ip'] || $ban_info['ban_userid'] || $ban_info['ban_email'] )
  {
   message_die(CRITICAL_MESSAGE, 'You_been_banned';);
  }
  {
  echo '<META HTTP-EQUIV="Refresh" CONTENT="2;URL=http://www.teletubbies.com">Vous avez été banni';
  }
 }
 
 
 
visiblement la partie en gras c pas comme ca, que manque t il ? :??:

 

[jfdsdjhfuetppo]--Message édité par bitman le 23-05-2002 à 23:30:06--[/jfdsdjhfuetppo]

mood
Publicité
Posté le 23-05-2002 à 22:31:53  profilanswer
 

n°143640
THE REAL S​MILEY
The Real Résistance!
Posté le 23-05-2002 à 22:42:18  profilanswer
 

bitman a écrit a écrit :

je connais pas du tout la syntaxe du truc mais j'aimerais rajouter qqchose a mon forum pour les ban :
 
if ( $ban_info = $db->sql_fetchrow($result) )
 {
  if ( $ban_info['ban_ip'] || $ban_info['ban_userid'] || $ban_info['ban_email'] )
  {
   message_die(CRITICAL_MESSAGE, 'You_been_banned';);
  }
  {
  echo '<META HTTP-EQUIV="Refresh" CONTENT="2;URL=http://www.teletubbies.com">Vous avez été banni';
  }
 }
 
 
 
visiblement la partie en gras c pas comme ca, que manque t il ? :??:  




http://www.teletubbies.com --> pas très original  :??:


---------------
༼ つ ◕_◕ ༽つ
n°143641
Bitman
Minorité Opprimée
Posté le 23-05-2002 à 22:43:17  profilanswer
 

bah oué ca me plait cette feature c rigolo
 
bon personne peut m'aider ici ?  :sweat:


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

  script : syntaxe php pour rajouter une redirection

 

Sujets relatifs
cherche un script ASP pour une gestion de magazine et de livre[PL/SQL] Peut-on faire des CREATE ou DROP dans un script PL/SQL?
[VC ++] rajouter une librairie pour le linker[php]Erreur de script
[PL/SQL] Utiliser un autre fichier SQL dans un script PL/SQL[ SCRIPT cote SERVEUR ] C'est quoi l'intérêt du .cgi par rapport au...
[Korn Shell] Pb de redirection de la sortie....[PHP] probleme de syntaxe
PHP / Mysql -> Script News -> Exportation vers un autre sitePHP | Cherche script sondage
Plus de sujets relatifs à : script : syntaxe php pour rajouter une redirection


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