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

Do a "chmod 0666" for include/config.php - PHP - Programmation

Marsh Posté le 07-05-2002 à 18:32:31    

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 ;-)

Reply

Marsh Posté le 07-05-2002 à 18:32:31   

Reply

Marsh Posté le 07-05-2002 à 18:34:16    

tu dois mettre le fichier config.php en lecture seule

Reply

Marsh Posté le 07-05-2002 à 18:41:31    

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).

Reply

Marsh Posté le 07-05-2002 à 18:44:42    

ah oui c vrai lecture seule c 444  :p

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed