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

  FORUM HardWare.fr
  Programmation
  PHP

  Do a "chmod 0666" for include/config.php

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Do a "chmod 0666" for include/config.php

n°136095
Wanoo
Posté le 07-05-2002 à 18:32:31  profilanswer
 

Salut, je dois modifier un truc dans le script du forum que j'ai telechargé mais je sais pas comment faire, voila la modif a faire
 

Citation :

Do a "chmod 0666" for include/config.php in order to the webserver can overwrite it.


 
Que dois je faire exactement ?
 
Voici la source du fichier config.php:
 
 
Oxygen v1.0RC5
©2002 Oxygen Development Team
 
Please see GPL.txt in the docs directory of this distribution.
 
File Last Updated:
02-04-25 06:25:50
 
*/
// You have to set these variable to get your board work
$dbname = "";   // Database name
$dbuser = "";   // Database username
$dbpw = "";   // Database password
$dbhost = "";   // Database server
$tablepre = "o2_";   //Don't edit this after you install or it will mess up your board
$pconnect = 0;
$cookiepath = ""; // "" if your installing locally
$cookiedomain = ""; // "" if your installing locally
$database = "mysql";
$fortuneon = "no";
 
/*
 * If you want Development Team to help you when you are in trouble, keep this parameteres unmodified.
 * To get in touch with us, replace "false" by "true" in $devel[error].
 */
$devel['email'] = "admin@heltem.dnsalias.org"; // This allows Oxygen to help you manage errors that may be generated by your board.
$devel['board'] = "http://o2php.ath.cx"; // This allows Oxygen to help you manage errors that may be generated by your board.
$devel['bname'] = "Oxygen Forum"; // This allows Oxygen to help you manage errors that may be generated by your board.
$devel['debug'] = "no"; // If you set this to anything but no, Oxygen will print info about template in html commentary, invisible for guys who don't see the source page.
$devel['error'] = "false"; // If you set this to anything but true, Oxygen Fr will NOT get an e-mail from you about any errors it.
 
$plug['name'][1] = "Stats";
$plug['url'][1] = "stats.php?action=stats";
$plug['admin'][1] = "no";
$plug['name'][2] = "Last Posts";
$plug['url'][2] = "lastpost.php";
$plug['admin'][2] = "no";
$plug['name'][3] = "Gestionnaire de fichiers";
$plug['url'][3] = "filemanager.php";
$plug['admin'][3] = "yes";
$plug['name'][4] = "Chatterbox";
$plug['url'][4] = "javascript:Popup('chatterbox.php', 'Box', 550, 450);";
$plug['admin'][4] = "no";
$plug['name'][5] = "Ignore List";
$plug['url'][5] = "javascript:Popup('ignore.php', 'Ignore', 250, 300);";
$plug['admin'][5] = "no";
$plug['name'][6] = "Forum Log";
$plug['url'][6] = "cp.php?action=log";
$plug['admin'][6] = "yes";
$plug['name'][7] = "Forum Status";
$plug['url'][7] = "cp.php?action=status";
$plug['admin'][7] = "yes";
$plug['name'][8] = "Optimize Tables";
$plug['url'][8] = "cp.php?action=optimize";
$plug['admin'][8] = "yes";
$plug['name'][9] = "News";
$plug['url'][9] = "javascript:Popup('news.php', 'News', 550, 350);";
$plug['admin'][9] = "yes";
 
?>
 
 
Merci ;-)

mood
Publicité
Posté le 07-05-2002 à 18:32:31  profilanswer
 

n°136096
kayasax
Posté le 07-05-2002 à 18:34:16  profilanswer
 

tu dois mettre le fichier config.php en lecture seule

n°136103
youdontcar​e
Posté le 07-05-2002 à 18:41:31  profilanswer
 

chmod = changement des permissions sur un fichier. ça peut se faire avec cuteftp par exemple : bouton droit > chmod, tu mets toutes les permissions read / write, aucune pour l'éxécution (ce qui est équivalent au 666).

n°136107
kayasax
Posté le 07-05-2002 à 18:44:42  profilanswer
 

ah oui c vrai lecture seule c 444  :p


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

  Do a "chmod 0666" for include/config.php

 

Sujets relatifs
[C] include et make filephp, include et fonctions...
Erreur avec L'include pour Online.fr [trés urgent!][PHP] pb de sécurité avec un include
Un INCLUDE en PHP[Java- Servlet] Bonne config (gratuite) pour faire tourner une servlet
Cherche config de IIS dans Regedit !! HELPPPP[PHP] Faire un include d'une page d'un autre site ?
[c++] include qui boucle, comment je fait ???vbscript et config IE
Plus de sujets relatifs à : Do a "chmod 0666" for include/config.php


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