HELP !
Je suis nul en PHP
j'ai un problème qui m'a été signalé par OVH :
"Notre système de surveillance (Okillerd Mysql), a détecté
un problème avec vos connexion au serveur MySQL. Vous êtes
bien connectez, mais vous oubliez de vous déconnectez ou alors
votre traitement dure plus longtemps qu'il ne devrait.
Il s'agit de:
| Id | User | Host | db | Command | Time | State | Info |
***|***|web12.***.net|***|Sleep|6|||"
Bref, faudrait pouvoir déconnectez les users automatiquement quand ils quittent le forum
mon fichier config est cela :
<?php
/*
XMB 1.8 Partagium
© 2001 - 2003 Aventure Media & The XMB Developement Team
http://www.aventure-media.co.uk
http://www.xmbforum.com
For license information, please read the license file which came with this edition of XMB
*/
// Database connection settings
$dbname = '***'; // Name of your database
$dbuser = '***'; // Username used to access it
$dbpw = '***'; // Password used to access it
$dbhost = '***'; // Database host, usually 'localhost'
$database = 'mysql'; // Database type, currently only mysql is supported.
$pconnect = 0; // Persistent connection, 1 = on, 0 = off, use if 'too many connections'-errors appear
// Table Settings
$tablepre = 'xmb_'; // Table-pre
// Path-settings
// In full_path, put the full URL you see when you go to your boards, WITHOUT the filename though!!
// And please, don't forget the / at the end...
$full_url = 'http://www.americas-fr.com/';
// Plugin Settings
$plugname[1] = ''; // Added plugin name, to create another plugin, copy and change [1] to [2] etc
$plugurl[1] = ''; // This is the location, link, or URL to the plugin
$plugadmin[1] = 'no'; // Is this plugin only for admins? Set to yes for admins, no for public
// Registration settings
/***************
* Registrations from the same IP to happen more than once per 24 hours,
* To allow
* turn the following option 'off'. Meaning instead of the default:
* $ipreg = 'on';
*
* change it to:
* $ipreg = 'off';
*
****************
* The ipcheck, checks if your IP is a valid IPv4 or IPv9 type, if none of these, it will kill.
* this might shut a few users out, so you can turn it off by changing the $ipcheck variable to 'off'
****************/
$ipreg = 'on';
$ipcheck = 'on';
?>
Vous avez un idée ? :roll:
Je suis nul en PHP
j'ai un problème qui m'a été signalé par OVH :
"Notre système de surveillance (Okillerd Mysql), a détecté
un problème avec vos connexion au serveur MySQL. Vous êtes
bien connectez, mais vous oubliez de vous déconnectez ou alors
votre traitement dure plus longtemps qu'il ne devrait.
Il s'agit de:
| Id | User | Host | db | Command | Time | State | Info |
***|***|web12.***.net|***|Sleep|6|||"
Bref, faudrait pouvoir déconnectez les users automatiquement quand ils quittent le forum
mon fichier config est cela :
<?php
/*
XMB 1.8 Partagium
© 2001 - 2003 Aventure Media & The XMB Developement Team
http://www.aventure-media.co.uk
http://www.xmbforum.com
For license information, please read the license file which came with this edition of XMB
*/
// Database connection settings
$dbname = '***'; // Name of your database
$dbuser = '***'; // Username used to access it
$dbpw = '***'; // Password used to access it
$dbhost = '***'; // Database host, usually 'localhost'
$database = 'mysql'; // Database type, currently only mysql is supported.
$pconnect = 0; // Persistent connection, 1 = on, 0 = off, use if 'too many connections'-errors appear
// Table Settings
$tablepre = 'xmb_'; // Table-pre
// Path-settings
// In full_path, put the full URL you see when you go to your boards, WITHOUT the filename though!!
// And please, don't forget the / at the end...
$full_url = 'http://www.americas-fr.com/';
// Plugin Settings
$plugname[1] = ''; // Added plugin name, to create another plugin, copy and change [1] to [2] etc
$plugurl[1] = ''; // This is the location, link, or URL to the plugin
$plugadmin[1] = 'no'; // Is this plugin only for admins? Set to yes for admins, no for public
// Registration settings
/***************
* Registrations from the same IP to happen more than once per 24 hours,
* To allow
* turn the following option 'off'. Meaning instead of the default:
* $ipreg = 'on';
*
* change it to:
* $ipreg = 'off';
*
****************
* The ipcheck, checks if your IP is a valid IPv4 or IPv9 type, if none of these, it will kill.
* this might shut a few users out, so you can turn it off by changing the $ipcheck variable to 'off'
****************/
$ipreg = 'on';
$ipcheck = 'on';
?>
Vous avez un idée ? :roll: