CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

configuration de php nuke

-_Nico181_-
-_Nico181_-
Niveau 10
13 novembre 2005 à 13:40:14

Bonjour, je veux installer php nuke sur mon ftp et il y a un readme pour la config, et ca me dit ca :

$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "";
$gfx_chk = 0;
$subscription_url = ""; Si vous avez un lien seulement, sinon laissez vide par défaut.
$admin_file = "admin";Vous pouvez ainsi renommer le lien vers l´admin. Attention le fichier admin.php devra alors etre lui aussi renommer bien évidemment :-)
--- exemple on renomme admin par AdminPanel
$admin_file = "AdminPanel";
et le fichier admin.php, devra être renommé, AdminPanel.php tout simplement !!

Et je sais pas trop ce qu´il faut mettre alors si vous pouvez m´éclairsir ca serait sympa !

deepblue
deepblue
Niveau 16
13 novembre 2005 à 14:43:43

$dbhost = "localhost";
C´st ou se trouve ta base de donnée

$dbuname = "root";
Le login pour s´y connecter

$dbpass = "";
Le password pour s´y connecter

$dbname = "nuke";
Le nom de la base de données

$prefix = "nuke";
Le prefix des tables ex : nuke_user
$user_prefix = "nuke";

$dbtype = "MySQL";
Le type de base

-_Nico181_-
-_Nico181_-
Niveau 10
13 novembre 2005 à 20:01:31

ok merci mais pour $dbhost = "localhost"; pour moi qui suit sur free, c´est sql.free.fr ?

Pour $dbuname = "root"; et $dbpass = ""; :d) je les choisis ou ce sont ceux de mon compte free ?

$dbname = "nuke"; :d) je lui donne le nom que je veux ou j´en ai un précis (mon pseudo free est Nico181)

$prefix = "nuke"; :d) je dois mettre quoi ?!

$dbtype = "MySQL"; :d) et là je met quoi ?

Déjà, je te remercie de la réponse dont tu m´a fait part et j´attends avec impatience la réponse de mon deuxième message :ok:

-_Nico181_-
-_Nico181_-
Niveau 10
13 novembre 2005 à 20:28:09

merci mais je mets quoi là :d)

  1. $subscription_url: If you manage subscriptions on your site, you
  2. must write here the url of the subscription
  3. information/renewal page. This will send by
  4. email if set.

et la :d)

  1. $admin_file: Administration panel filename. "admin" by default for
  2. "admin.php". To improve security please rename the file
  3. "admin.php" and change the $admin_file value to the
  4. new filename (without the extension .php)

et là :d)

  1. $display_errors: Echo errors on/off switch
  2. 0: Don´t display
  3. 1: Display errors
  4. Only enable for debugging purposes, disable once done
  5. to avoid possible full path disclosure errors being shown to others

:svp:

-_Nico181_-
-_Nico181_-
Niveau 10
13 novembre 2005 à 20:40:23

voilà, quand je vais là :d) http://nico181.free.fr//PHPNUKE76FR/PHPNUKE76FR/html/index.php ca me met ca :d)

Il semble que ce site rencontre actuellement quelques problèmes techniques.
Nous vous prions de bien vouloir nous en excuser et vous proposons de repasser nous rendre visite plus tard.

Veuillez patienter, vous allez être redirigé ...

Sachant voici le config.php :d)

<?php

    1. ###############################################
    2. #################
  1. PHP-NUKE: Advanced Content Management System
  2. ============================================

#

  1. Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)
  2. http://phpnuke.org

#

  1. This module is to configure the main options for your site

#

  1. This program is free software. You can redistribute it and/or modify
  2. it under the terms of the GNU General Public License as published by
  3. the Free Software Foundation; either version 2 of the License.
    1. ###############################################
    2. #################
  1. Nuke Patched version: 3.0
    1. ###############################################
    2. #################
    1. ###############################################
    2. #################
  1. Database & System Config

#

  1. dbhost: sql.free.Fr
  2. dbuname: Nico181
  3. dbpass: ***********************
  4. dbname: nico181
  5. $prefix: nuke
  6. $user_prefix: nuke
  7. $dbtype: MySQL
  8. $sitekey: Security Key. CHANGE it to whatever you want, as long
  9. as you want. Just don´t use quotes.
  10. $gfx_chk: 0
  11. $subscription_url: If you manage subscriptions on your site, you
  12. must write here the url of the subscription
  13. information/renewal page. This will send by
  14. email if set.
  15. $admin_file: Administration panel filename. "admin" by default for
  16. "admin.php". To improve security please rename the file
  17. "admin.php" and change the $admin_file value to the
  18. new filename (without the extension .php)
  19. $display_errors: Echo errors on/off switch
  20. 0: Don´t display
  21. 1: Display errors
  22. Only enable for debugging purposes, disable once done
  23. to avoid possible full path disclosure errors being shown to others
    1. ###############################################
    2. #################

$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;

/*************************************************

    • *****************/

/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */

/*************************************************

    • *****************/

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU´RE DOING

$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1);
$CensorList = array("fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (stristr($_SERVER[´PHP_SELF´], "config.php")) {
Header("Location: index.php");
die();
}

?>

Quesqu´il ne va pas ?

deepblue
deepblue
Niveau 16
13 novembre 2005 à 20:45:03

les infos du dessus doivent etre entre " " exemple:

$nom_de_quelque_chose = "la valeyr de ce quelque hose";

-_Nico181_-
-_Nico181_-
Niveau 10
13 novembre 2005 à 21:07:21

voilà, maintenant j´ai ca :d)

<?php

    1. ###############################################
    2. #################
  1. PHP-NUKE: Advanced Content Management System
  2. ============================================

#

  1. Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)
  2. http://phpnuke.org

#

  1. This module is to configure the main options for your site

#

  1. This program is free software. You can redistribute it and/or modify
  2. it under the terms of the GNU General Public License as published by
  3. the Free Software Foundation; either version 2 of the License.
    1. ###############################################
    2. #################
  1. Nuke Patched version: 3.0
    1. ###############################################
    2. #################
    1. ###############################################
    2. #################
  1. Database & System Config

#

  1. dbhost: "sql.free.Fr"
  2. dbuname: "Nico181"
  3. dbpass: "***"
  4. dbname: "nico181"
  5. $prefix: "nuke"
  6. $user_prefix: "nuke"
  7. $dbtype: "MySQL"
  8. Be sure to write it exactly as above, case SeNsItIvE!
  9. $sitekey: Security Key. CHANGE it to whatever you want, as long
  10. as you want. Just don´t use quotes.
  11. $gfx_chk: "0"
  12. $subscription_url: If you manage subscriptions on your site, you
  13. must write here the url of the subscription
  14. information/renewal page. This will send by
  15. email if set.
  16. $admin_file: Administration panel filename. "admin" by default for
  17. "admin.php". To improve security please rename the file
  18. "admin.php" and change the $admin_file value to the
  19. new filename (without the extension .php)
  20. $display_errors: Echo errors on/off switch
  21. 0: Don´t display
  22. 1: Display errors
  23. Only enable for debugging purposes, disable once done
  24. to avoid possible full path disclosure errors being shown to others
    1. ###############################################
    2. #################

$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;

/*************************************************

    • *****************/

/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */

/*************************************************

    • *****************/

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU´RE DOING

$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1);
$CensorList = array("fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (stristr($_SERVER[´PHP_SELF´], "config.php")) {
Header("Location: index.php");
die();
}

?>

deepblue
deepblue
Niveau 16
13 novembre 2005 à 21:10:33

j´ai pas dit de mettre > : mais ça > =

-_Nico181_-
-_Nico181_-
Niveau 10
13 novembre 2005 à 21:22:08

VOILA :d)

<?php

    1. ###############################################
    2. #################
  1. PHP-NUKE: Advanced Content Management System
  2. ============================================

#

  1. Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)
  2. http://phpnuke.org

#

  1. This module is to configure the main options for your site

#

  1. This program is free software. You can redistribute it and/or modify
  2. it under the terms of the GNU General Public License as published by
  3. the Free Software Foundation; either version 2 of the License.
    1. ###############################################
    2. #################
  1. Nuke Patched version: 3.0
    1. ###############################################
    2. #################
    1. ###############################################
    2. #################
  1. Database & System Config

#

  1. dbhost= "sql.free.Fr"
  2. dbuname= "Nico181"
  3. dbpass= "****"
  4. dbname= "nico181"
  5. $prefix= "nuke"
  6. $user_prefix= "nuke"
  7. $dbtype= "MySQL"
  8. Be sure to write it exactly as above, case SeNsItIvE!
  9. $sitekey= Security Key. CHANGE it to whatever you want, as long
  10. as you want. Just don´t use quotes.
  11. $gfx_chk= "0"
  12. $subscription_url= If you manage subscriptions on your site, you
  13. must write here the url of the subscription
  14. information/renewal page. This will send by
  15. email if set.
  16. $admin_file= Administration panel filename. "admin" by default for
  17. "admin.php". To improve security please rename the file
  18. "admin.php" and change the $admin_file value to the
  19. new filename (without the extension .php)
  20. $display_errors= Echo errors on/off switch
  21. 0: Don´t display
  22. 1: Display errors
  23. Only enable for debugging purposes, disable once done
  24. to avoid possible full path disclosure errors being shown to others
    1. ###############################################
    2. #################

$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;

/*************************************************

    • *****************/

/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */

/*************************************************

    • *****************/

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU´RE DOING

$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1);
$CensorList = array("fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (stristr($_SERVER[´PHP_SELF´], "config.php")) {
Header("Location: index.php");
die();
}

?>

-_Nico181_-
-_Nico181_-
Niveau 10
13 novembre 2005 à 21:25:18

ya encore des erreurs ?!

deepblue
deepblue
Niveau 16
13 novembre 2005 à 21:34:27

ben essaye et tu verras

-_Nico181_-
-_Nico181_-
Niveau 10
14 novembre 2005 à 07:34:50

ben j´ai essayer comme ca et ca marche po :(
ce qui me semble provenir de l´erreur, c´est apres ce que j´ai rempli, c´est a dire ca :d)

$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;

faut laisser comme ca ?
:merci:

-_Nico181_-
-_Nico181_-
Niveau 10
14 novembre 2005 à 17:08:17

:up: :svp:

Sous forums
  • Aide à l'achat Mac
  • Steam Deck
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Internet
  • Macintosh
  • Hardware
La vidéo du moment