<?xml version="1.0" encoding="UTF-8" ?>
<!-- RSS generated by PHPBoost on Wed, 29 Apr 2026 04:39:04 +0200 -->
<rss version="2.0" xmlns:atom="https://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Wiki]]></title>
		<atom:link href="https://www.phpboost.com/syndication/rss/wiki/3" rel="self" type="application/rss+xml"/>
		<link>https://www.phpboost.com</link>
		<description><![CDATA[Derniers articles de la catégorie III. Utilisation de PHPBoost]]></description>
		<copyright>(C) 2005-2026 PHPBoost</copyright>
		<language>fr</language>
		<generator>PHPBoost</generator>
		
            <item>
                <title><![CDATA[Règles de sécurité à appliquer pour utiliser PHPBoost]]></title>
                <link>https://www.phpboost.com/wiki/regles-de-securite-a-appliquer-pour-utiliser-phpboost</link>
                <guid>https://www.phpboost.com/wiki/regles-de-securite-a-appliquer-pour-utiliser-phpboost</guid>
                <description><![CDATA[Un des points clé de PHPBoost est la sécurité. L'ensemble du noyau est conçu pour sécuriser un maximum les données. Toutes les techniques connues concernant les attaques de sites web sont bloquées. Cependant nous ne sommes pas à l'abri d'une attaque qui peut être réussie si on fait face à quelqu'un de revanchard et compétent ; cela dit aucun système n'est sûr. PHPBoost a mis tous les éléments de son côté sur ce point là.<br /><br />
<br /><br />
La sécurité des sites est un point important que beaucoup de personnes négligent car ne se rendent pas compte des conséquences que cela peut avoir...<br /><br />
<br /><br />
Voyons ensemble ce que vous devez faire de votre côté pour avoir votre site le plus sécurisé possible.<br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-a-l-installation">A l'installation</h2><br /><br />
<br />
<br /><br />
Dans le pack de PHPBoost se trouve un répertoire ../install pour installer PHPBoost. A la fin de l'installation, il est important de bien supprimer ce répertoire, cela évite qu'une personne mal intentionnée connaissant vos identifiants relance l'installation et supprime toutes les données de votre site.<br /><br />
<br /><br />
De plus utilisez des mots de passe sécurisés, ce que nous allons développer de suite.<br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-les-mots-de-passe">Les mots de passe</h2><br /><br />
<br />
<br /><br />
Bien souvent les mots de passe des gens se limitent à 123456, azerty, leur prénom, leur nom, etc... Ceci est bien trop simple et peut facilement se deviner, les hackers ayant a leur disposition des scripts de recherche de mots de passes. Si votre mot de passe est un nom propre, une suite de chiffres, il sera très facilement décryptable.<br /><br />
<br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-comment-avoir-un-mot-de-passe-securise-e">Comment avoir un mot de passe sécurisé ?</h3><br /><br />
<br />
<br /><br />
Un mot de passe doit être le plus complexe possible ! Voici quelques règles importantes à respecter pour votre mot de passe :<br /><br />
<br /><br />
    * minimum de 8 caractères<br /><br />
    * contient des chiffres, des majuscules, minuscules et caractères spéciaux<br /><br />
    * il ne doit jamais être un mot qu'on trouve dans le dictionnaire d'aucune langue<br /><br />
<br /><br />
Ex : QL8(DtU1;OrF1t<br /><br />
<br /><br />
<span class="message-helper bgc warning">N'UTILISEZ JAMAIS LE MÊME MOT DE PASSE pour le les bases de données SQl, FTP, e-mail, interface d'administration du site web, etc... Beaucoup de personnes font cette erreur, hors si le pirate trouve votre mot de passe, il tentera ce mot de passe sur votre serveur ftp, base de données, etc. et donc il aura encore plus d'accès...</span><br /><br />
<br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-pour-votre-mot-de-passe-d-administrateur-ou-moderateur">Pour votre mot de passe d'administrateur ou modérateur</h3><br /><br />
<br />
<br /><br />
Avec des droits qui peuvent être nuisibles en cas de piratage de comptes, il faut un mot de passe assez complexe, mais facile à retenir. Créez votre propre mot de passe et vous serez déjà un peu plus tranquille <img src="https://www.phpboost.com/images/smileys/wink.png" alt=":wink" class="smiley" /> Pensez donc à indiquer aux personnes qui ont des responsabilités sur votre site de choisir un mot de passe le plus complexe possible.<br /><br />
Il est facile de faire des mots de passes complexes mais faciles à se souvenir. Prenez par exemple un mot, décomposez le et ajoutez des chiffres, majuscules et caractères spéciaux.<br /><br />
<br /><br />
ex : Prenons par exemple le mot password. On va le décomposer en pass et word. Pour compliquer on met des majuscules : Pass Word. Ensuite on ajoute des chiffres 1Pass2Word3 et enfin pour vraiment compliquer ajoutons des caractères spéciaux pour obtenir : 1,Pass2;Word3:&<br /><br />
<br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-les-mots-de-passe-pour-les-utilisateurs">Les mots de passe pour les utilisateurs</h3><br /><br />
<br />
<br /><br />
Ils ne nécessitent pas le même soucis de complexité car les conséquences sont moindres, un minimum de 8 caractères est conseillé.<br /><br />
<br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-liste-non-exhaustive-de-quelques-utilitaires-pour-creer-vos-mots-de-passe">Liste non exhaustive de quelques utilitaires pour créer vos mots de passe :</h3><br /><br />
<br />
<br /><br />
<a class="offload" href="http://www.generateurdemotdepasse.com/">http://www.generateurdemotdepasse.com/</a><br /><br />
<a class="offload" href="http://www.freepasswordgenerator.com/">http://www.freepasswordgenerator.com/</a><br /><br />
<a class="offload" href="http://www.pctools.com/guides/password/">http://www.pctools.com/guides/password/</a><br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-register_globals-on-ou-off-e">Register_globals : on ou off ?</h2><br /><br />
<br />
<br /><br />
Register_globals est une fonction PHP de votre serveur : elle définit si oui ou non les variables EGPCS (Environment, GET, POST, Cookie, Server) seront enregistrées comme des variables globales. Depuis PHP 4.2.0, la valeur par défaut de cette directive est off.' (<a class="offload" href="http://www.manuelphp.com/php/ini.register-globals.php">source manuelphp.com</a>)<br /><br />
<br /><br />
<strong>Il faut le mettre à Off</strong>, mais normalement il n'y a pas de problèmes si il est à On.<br /><br />
Si il est activé sur PHPBoost ça ne sera pas grave car toutes les variables sont initialisées et les variables générées par le register_globals sont supprimées.<br /><br />
<br /><br />
<span class="message-helper bgc question">Si dans le panel d'administration de votre hébergeur vous ne pouvez pas modifier la configuration de register_global, il va falloir mettre dans le fichier .htaccess à la racine de votre site cette commande :<br /><br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">php_flag register_globals off  </pre></pre></div></div></span><br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-mettez-vos-site-a-jour">Mettez vos site à jour</h2><br /><br />
<br />
<br /><br />
Un site à jour est la première et meilleure défense de votre site. Il est parfois étonnant de voir les webmasters réticents à mettre à jour leur site (peur de perdre ses données, trop dur, leur site est stable alors pourquoi changer ? etc.).<br /><br />
<br /><br />
Il peut exister plusieurs types de mise à jour :<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li"> Correction d'une faille de sécurité
    </li><li class="formatter-li"> Correction d'un bug minime dans un logiciel
    </li><li class="formatter-li"> Ajout de nouveautés dans un module
    </li><li class="formatter-li"> etc.<br /><br />
</li></ul><br /><br />
<br /><br />
S'il existe une mise à jour de faille de sécurité, il faudra ABSOLUMENT réaliser cette mise à jour.<br /><br />
<br /><br />
Les mises à jours sont très simples à réaliser, lorsqu'il y en a une, la démarche à suivre est toujours mentionnée, pas d'inquiétude !<br /><br />
<br /><br />
<span class="message-helper bgc warning">Gardez votre site constamment à jour</span><br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sauvegardez-regulierement-les-donnees-de-votre-site">Sauvegardez régulièrement les données de votre site</h2><br /><br />
<br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-la-base-de-donnees">La base de données</h3><br /><br />
<br />
<br /><br />
Il est important de sauvegarder régulièrement sa base de données afin de ne pas perdre ses données en cas de plantage de serveur ou de piratage.<br /><br />
PHPBoost contient un module pour la sauvegarde et la restauration de la base de données.<br /><br />
<br /><br />
Consultez <a class="offload" href="https://www.phpboost.com/wiki/base-de-donnees">cet article</a> pour en savoir plus.<br /><br />
<br /><br />
<span class="message-helper bgc warning">Sauvegardez toujours votre base de données sur votre ordinateur.</span><br /><br />
<br /><br />
<span class="message-helper bgc notice">Certains hébergeurs proposent de faire des sauvegardes de vos bases de données de manière périodique. Renseignez vous auprès de votre hébergeur.</span><br /><br />
<br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-les-donnees-du-ftp">Les données du FTP</h3><br /><br />
<br />
<br /><br />
Sauvegardez de temps en temps les données de votre FTP. Voici ce qu'il faut sauvegarder :<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li"> /images
    </li><li class="formatter-li"> /gallery/pics (si le module gallery est installé)
    </li><li class="formatter-li"> /templates (si vous avez un thème personnalisé)
    </li><li class="formatter-li"> /stats/cache (si le module stats est installé)
    </li><li class="formatter-li"> /upload
    </li><li class="formatter-li"> ET tous les répertoires que vous aurez créés pour y mettre des fichiers.<br /><br />
</li></ul><br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-administrateurs-et-moderateurs">Administrateurs et modérateurs</h2><br /><br />
<br />
<br /><br />
On ne donne pas des droits à n'importe qui et sans vraiment connaitre la personne. Bon nombre de webmasters recrutent rapidement du monde pour montrer que leur site est vivant, qu'il y a une équipe importante, etc. Mais tout le monde ne peut pas avoir accès à ces fonctions, car il existe des risques non négligeables. Citons les par exemple :<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Le modérateur a accès en général selon les autorisations données<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">à la modération de tout le forum donc peut effacer autant de messages qu'il le souhaite
    </li><li class="formatter-li">à la modération des articles, news, liens webs, téléchargements à partir de la version 2.1 de PHPBoost<br /><br />
</li></ul>
    </li><li class="formatter-li">L'administrateur<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">il a accès à TOUT
    </li><li class="formatter-li">Il a les droits sur tous les modules
    </li><li class="formatter-li">il a accès au panel d'administration
    </li><li class="formatter-li">ainsi via le panel de gestion de la base de données il peut entièrement effacer tout le contenu du site<br /><br />
</li></ul><br /><br />
</li></ul><br /><br />
<br /><br />
Bref comme vous pouvez le constater, ces droits ne se donnent pas à la légère car les risques pour votre site ne sont pas négligeables.<br /><br />
<br /><br />
<span class="message-helper bgc warning">Ne donnez ces droits que si vous connaissez bien la personne et que vous avez une totale confiance en elle et que cette personne a vraiment besoin de ces droits. Donnez le minimum d'accès administrateur car c'est le rang le plus dangereux !</span><br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-comment-donner-un-acces-ftp-a-une-personne-e">Comment donner un accès FTP à une personne ?</h2><br /><br />
<br />
<br /><br />
Il peut parfois être nécessaire de donner un accès FTP à un tiers pour différentes raisons. Mais donner l'accès au FTP à une personne mal intentionnée peut avoir de graves conséquences pour votre site. Il peut par exemple :<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li"> insérer un code source malicieux
    </li><li class="formatter-li"> effacer des fichiers ou tout le contenu de votre FTP
    </li><li class="formatter-li"> S'approprier du fichier config.php et ainsi accéder à votre base de données
    </li><li class="formatter-li"> etc.<br /><br />
</li></ul><br /><br />
<br /><br />
Mais alors vous allez me dire qu'il ne faut pas donner d'accès FTP ?<br /><br />
<br /><br />
Bien sur que oui que vous pouvez donner un accès FTP à quelqu'un, mais ne lui donnez pas l'accès à TOUT le FTP, réservez lui un accès à un répertoire par exemple. Pour créer un compte FTP à un membre et lui définir un espace bien particulier, il faudra vous rendre dans le panel d'administration de votre hébergeur.<br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-mefiez-vous-des-connexions-automatiques">Méfiez vous des connexions automatiques...</h2><br /><br />
<br />
<br /><br />
<strong>Ces consignes s'adressent à tout le monde</strong> et surtout pour les administrateurs et les modérateurs chez qui leur connexion à leur site par un intrus peut engendrer de graves conséquences puisque la personne aura accès au panel d'administration et à la base de données. Cela doit être un réflexe chez tout le monde. Tout d'abord il y a 2 risques<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li"> Votre session reste ouverte et ainsi quelqu'un peut utiliser votre compte pour effectuer des manipulations pouvant être grave pour votre site
    </li><li class="formatter-li"> Les navigateurs proposent d'enregistrer automatiquement vos mots de passe et ainsi vous avez déjà le pseudo et le mot de passe de mis dans les champs pour se connecter<br /><br />
</li></ul><br /><br />
<br /><br />
Si vous êtes sur votre ordinateur personnel et que vous êtes le seul utilisateur, les risques sont moindres.<br /><br />
<br /><br />
<span class="message-helper bgc warning">Si vous êtes sur un ordinateur public, les risques sont beaucoup plus graves. Dans ce cas lorsque vous quittez l'ordinateur :<br /><br />
 <ul class="formatter-ul">
    <li class="formatter-li"> <strong>Déconnectez vous de votre session en cours</strong>
    </li><li class="formatter-li"> <strong>Allez dans les paramètres du navigateur et effacez les cookies, le cache, les mots de passe enregistrés et les sessions d'identification.</strong><br /><br />
</li></ul></span><br /><br />
<br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-conclusion">Conclusion</h2><br /><br />
<br />
<br /><br />
Même si tout est étudié pour éviter toute faille de sécurité, PHPBoost est comme tout CMS non garanti à 100%.<br /><br />
Le plus souvent les problèmes rencontrés par les utilisateurs ne proviennent pas d'une faille de PHPboost mais d'eux même.<br /><br />
<br /><br />
<span class="message-helper bgc warning">Il est important de respecter les consignes données ci-dessus pour sécuriser correctement votre site</span>]]></description>
                <pubDate>Sat, 18 Aug 2018 07:33:31 +0200</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Utiliser PHPBoost en ligne de commande]]></title>
                <link>https://www.phpboost.com/wiki/utiliser-phpboost-en-ligne-de-commande</link>
                <guid>https://www.phpboost.com/wiki/utiliser-phpboost-en-ligne-de-commande</guid>
                <description><![CDATA[Depuis PHPBoost 4.0, vous pouvez installer PHPBoost en ligne de commande.<br />
<br />
Cela permet de déployer votre site très rapidement. Vous pouvez également effectuer d'autres opérations comme la modification du .htaccess, du cache, l'import d'un backup, opérations sur les membres, ...<br />
<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-utilisation">Utilisation</h2><br />
<br />
Dans le pack de PHPBoost, vous avez à la racine un fichier nommé phpboost, c'est celui ci que vous allez devoir utiliser. Il devra être exécuté avec PHP CLI de cette manière :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>phpboost<span style="color: #000000; font-weight: bold;">/</span>
php phpboost</pre></pre></div></div><br />
<br />
Vous devriez avoir comme réponse (la liste va dépendre des modules disponibles) :<br />
<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">no command specified
available commands are:
    - dump: Dump database
    - restoredb: Restore database
    - generate-sitemap: Generates the sitemap.xml file.
    - help: describe phpboost commands
    - cache: manages the phpboost cache
    - htaccess: manages the htaccess file
    - user: manages the phpboost users
    - install: install phpboost development environment</pre></pre></div></div><br />
<br />
A partir de ce moment là vous pouvez effectuer les opérations listées.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-installer-phpboost">Installer PHPBoost</h2><br />
<br />
Pour voir tous les paramètres de l'installateur de PHPBoost tapez :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost <span style="color: #c20cb9; font-weight: bold;">install</span></pre></pre></div></div><br />
<br />
Voici la liste avec les paramètres par défaut :<br />
<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">DATABASE
    --db-host localhost
    --db-port 3306
    --db-user root
    --db-pwd 
    --db-schema phpboost
    --db-table-prefix phpboost_
WEBSITE
    --ws-server http://localhost
    --ws-path /
    --ws-name PHPBoost
        --ws-desc PHPBoost command line installation
    --ws-locale english
    --ws-timezone Europe/Paris
ADMIN
    --u-login admin
    --u-pwd admin
    --u-email admin@mail.com</pre></pre></div></div><br />
<br />
Exemple pour installer PHPBoost :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--ws-server</span> <span style="color: #ff0000;">"http://url_du_site.com"</span> <span style="color: #660033;">--ws-name</span> <span style="color: #ff0000;">"Nom du site"</span> <span style="color: #660033;">--ws-desc</span> <span style="color: #ff0000;">"description du site"</span> <span style="color: #660033;">--ws-locale</span> french <span style="color: #660033;">--db-user</span> login_database <span style="color: #660033;">--db-pwd</span> mot_de_passe <span style="color: #660033;">--db-schema</span> database_name</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-modification-du-htaccess">Modification du .htaccess</h2><br />
<br />
Accueil de la gestion :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost htaccess</pre></pre></div></div><br />
<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">scenario: phpboost htaccess <goal>
where "goal" is the name of the operation that you want to launch
available goals are:
    - content: Set content for htaccess file
    - rewriting: Manage rewriting urls</pre></pre></div></div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-ajouter-du-contenu-au-fichier">Ajouter du contenu au fichier</h3><br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost htaccess content add <span style="color: #ff0000;">"votre contenu à ajouter"</span></pre></pre></div></div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-activer-ou-d-sactiver-la-r-criture-des-urls">Activer ou désactiver la réécriture des URLs</h3><br />
<br />
Pour activer la réécriture des URLs :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost htaccess rewriting <span style="color: #7a0874; font-weight: bold;">enable</span></pre></pre></div></div><br />
<br />
Pour désactiver la réécriture des URLs :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost htaccess rewriting disable</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-g-rer-les-utilisateurs">Gérer les utilisateurs</h2><br />
<br />
Accueil de la gestion :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost user</pre></pre></div></div><br />
<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">scenario: phpboost user <goal>
where "goal" is the name of the operation that you want to launch
available goals are:
    - add: add user
    - delete: delete user</pre></pre></div></div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-ajouter-un-utilisateur">Ajouter un utilisateur</h3><br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost user add</pre></pre></div></div><br />
<br />
Paramètres :<br />
<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">scenario: phpboost user add [args]
    --login user
    --email user@user.com
    --pwd phpboost
    --level member in possible values : member|moderator|administrator
    --approb yes in possible values : yes|no</pre></pre></div></div><br />
<br />
Exemple :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost user add <span style="color: #660033;">--login</span> admin <span style="color: #660033;">--email</span> <span style="color: #ff0000;">"admin@admin.com"</span> <span style="color: #660033;">--pwd</span> mot_de_passe <span style="color: #660033;">--level</span> administrator <span style="color: #660033;">--approb</span> <span style="color: #c20cb9; font-weight: bold;">yes</span></pre></pre></div></div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-supprimer-un-utilisateur">Supprimer un utilisateur</h3><br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost user delete</pre></pre></div></div><br />
<br />
Paramètres :<br />
<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">scenario: phpboost user delete [args]
    --id user id
     or
    --login user login
     or
    --email user email</pre></pre></div></div><br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-supprimer-par-son-id">Supprimer par son id</h4><br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost user delete <span style="color: #660033;">--id</span> user_id</pre></pre></div></div><br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-supprimer-par-son-login">Supprimer par son login</h4><br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost user delete <span style="color: #660033;">--login</span> login_a_supprimer</pre></pre></div></div><br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-supprimer-par-son-email">Supprimer par son email</h4><br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost user delete <span style="color: #660033;">--email</span> <span style="color: #ff0000;">"admin@admin.fr"</span></pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-faire-un-backup-sql">Faire un backup SQL</h2><br />
<br />
Pour générer un dump de la base de données :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost dump</pre></pre></div></div><br />
<br />
En réponse on vous donnera où est stocké le fichier (dossier cache du site)<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-restaurer-un-backup-sql">Restaurer un backup SQL</h2><br />
<br />
Pour restaurer votre base de données à partir d'un fichier :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost restoredb <span style="color: #ff0000;">"emplacement_du_fichier"</span></pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-r-g-n-rer-le-cache">Régénérer le cache</h2><br />
<br />
Pour régénérer le cache du site :<br />
<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">php phpboost cache <span style="color: #c20cb9; font-weight: bold;">clear</span></pre></pre></div></div>]]></description>
                <pubDate>Wed, 09 Sep 2015 12:56:09 +0200</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Règles de ponctuation et de typographie]]></title>
                <link>https://www.phpboost.com/wiki/regles-de-ponctuation-et-de-typographie</link>
                <guid>https://www.phpboost.com/wiki/regles-de-ponctuation-et-de-typographie</guid>
                <description><![CDATA[<h2 class="formatter-title wiki-paragraph-2" id="paragraph-introduction">Introduction</h2><br />
<br /><br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-espace">Espace</h3><br />
<br /><br /><br />
<span class="message-helper notice">En matière de typographie, le mot espace est du genre féminin (On dit une espace).</span><br /><br />
<br /><br />
<strong>Espace sécable</strong> : C'est une espace qu'on peut remplacer par une coupure de ligne.<br /><br />
<br /><br />
<strong>Espace insécable</strong> : C'est une espace à dimension fixe qui est indissociable des caractères qui l'encadrent.<br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-signes">Signes</h3><br />
<br /><br /><br />
<strong>Signes simples</strong><br /><br />
<br /><br />
Les signes simples sont :<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">la virgule ","
    </li><li class="formatter-li">le point "."
    </li><li class="formatter-li">les points de suspension "..."<br /><br />
</li></ul><br /><br />
<br /><br />
<strong>Signes doubles</strong><br /><br />
<br /><br />
Les signes doubles sont :<br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">le point-virgule ";"
    </li><li class="formatter-li">les deux-points ":"
    </li><li class="formatter-li">le point d'exclamation "!"
    </li><li class="formatter-li">le point d'interrogation "?"<br /><br />
</li></ul><br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-les-regles-de-ponctuation">Les règles de ponctuation</h2><br />
<br /><br /><br />
Le tableau qui suit donne les principales règles de ponctuation qui doivent être utilisées :<br /><br />
<br /><br />
<table class="formatter-table">
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;"><strong>Ponctuation</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>Avant le signe</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>Signe</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>Après le signe</strong></p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Virgule</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>,</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Point</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>.</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Deux points</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>:</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Point-virgule</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>;</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Point d'exclamation</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>!</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Point d'interrogation</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>?</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Points de suspension en fin de phrase</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>...</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Points de suspension en début de phrase</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>...</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Tiret court (trait-d'union, mots composés, césure)</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>-</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Tiret moyen : listes</p></td>
<td class="formatter-table-col"><p style="text-align: center;">En début de ligne</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>-</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Tiret moyen : incises</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>-</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Tiret long (dialogues)</p></td>
<td class="formatter-table-col"><p style="text-align: center;">En début de ligne</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>&#8212;</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Parenthèse ouvrante</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>(</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Parenthèse fermante</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>)</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace (ou ponctuation)</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Parenthèse ouvrante</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>[</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Parenthèse fermante</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>]</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace (ou ponctuation)</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Apostrophe</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>'</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Guillemet droit ouvrant</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>"</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Guillemet droit fermant</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>"</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace (ou ponctuation)</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Guillemet à l'anglaise ouvrant</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>&#8220;</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Guillemet à l'anglaise fermant</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>&#8221;</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace (ou ponctuation)</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Guillemet à la française ouvrant</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>«</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Guillemet à la française fermant</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>»</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Espace (ou ponctuation)</p></td>
</tr>
<tr class="formatter-table-row">
<td class="formatter-table-col"><p style="text-align: center;">Barre de fraction</p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
<td class="formatter-table-col"><p style="text-align: center;"><strong>/</strong></p></td>
<td class="formatter-table-col"><p style="text-align: center;">Pas d'espace</p></td>
</tr>
</table><br /><br />
<br /><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-divers">Divers</h2><br />
<br /><br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-titres-et-abreviations">Titres et abréviations</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Mademoiselle : <strong>M<sup>lle</sup></strong> ou <strong>Mlle</strong>
    </li><li class="formatter-li">Madame : <strong>M<sup>me</sup></strong> ou <strong>Mme</strong>
    </li><li class="formatter-li">Mesdames : <strong>M<sup>mes</sup></strong> ou <strong>Mmes</strong>
    </li><li class="formatter-li">Monsieur : <strong>M.</strong> (et non Mr pour Mister)
    </li><li class="formatter-li">Messieurs : <strong>MM.</strong>
    </li><li class="formatter-li">Maitre : <strong>M<sup>e</sup></strong> ou <strong>Me</strong>
    </li><li class="formatter-li">Monseigneur : <strong>M<sup>gr</sup></strong> ou <strong>Mgr</strong><br /><br />
</li></ul><br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-unites">Unités</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Laisser une espace avant l'unité et une espace après sauf si elle est suivie d'une ponctuation simple.<br /><br />
</li></ul><br /><br />
<span class="message-helper notice">Une largeur de 20,7 cm<br /><br />
Un cagnotte de 1 000 000,00 &#8364;<br /><br />
Une augmentation de 15,5 %</span><br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-citations-tronquees">Citations tronquées</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Utiliser <strong>(...)</strong> ou <strong>[...]</strong><br /><br />
</li></ul><br /><br />
<span class="message-helper notice">John DOE disait « À vouloir trop en faire (...) cela n'aura pas de fin », et il savait de quoi il parlait.</span><br /><br />
<br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-etc-et-les-points-de-suspension">"etc." et les points de suspension</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Écrire au choix : <strong>etc.</strong> ou <strong>...</strong> mais surtout pas : <strong>etc&#8230;</strong><br /><br />
</li></ul><br /><br />
<span class="message-helper notice">des pommes, des poires etc.<br /><br />
des pommes, des poires...</span><br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-acronymes">Acronymes</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Écrire les acronymes en majuscules, avec ou sans points.<br /><br />
</li></ul><br /><br />
<span class="message-helper notice">O.C.D.E. ou OCDE<br /><br />
O.P.E.P. ou OPEP</span><br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-accents-et-majuscules">Accents et majuscules</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Il est fortement recommandé de mettre des accents dans les titres (ce qui peut lever certaines ambigüités)<br /><br />
</li></ul><br /><br />
<span class="message-helper notice">ELEVES EN PLEIN AIR = ÉLÈVES EN PLEIN AIR ou ÉLEVÉS EN PLEIN AIR ?<br /><br />
ENFANTS LEGITIMES DE LOUIS XIV = ENFANTS LÉGITIMES DE LOUIS XIV ou ENFANTS LÉGITIMÉS DE LOUIS XIV ?<br /><br />
PALAIS DES CONGRES = PALAIS DES CONGRES ou PALAIS DES CONGRÈS ?<br /><br />
LES PARENTS INDIGNES = LES PARENTS INDIGNES ou LES PARENTS INDIGNÉS ?</span><br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-numeration">Énumération</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Premier : <strong>1er</strong>
    </li><li class="formatter-li">Première : <strong>1re</strong>
    </li><li class="formatter-li">Deuxième : <strong>2e</strong><br /><br />
</li></ul><br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-siecles">Siècles</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Écrire le siècle en chiffres romains petites capitales, suivi d'un e minuscule en exposant (ou er pour premier).<br /><br />
</li></ul><br /><br />
<span class="message-helper notice">Le Ier s. av. J.-C.<br /><br />
Le XIXe s. ap. J.-C. </span><br /><br />
<br /><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-noms-et-prenoms">Noms et prénoms</h3><br />
<br /><br /><br />
<ul class="formatter-ul">
    <li class="formatter-li">Écrire les initiales en capitales, les prénoms en minuscules et les noms de préférence en capitales, et sauf exception motivée (p. ex. bibliographie) les prénoms précèderont les noms.<br /><br />
</li></ul><br /><br />
<br /><br />
<span class="message-helper notice">John DOE</span>]]></description>
                <pubDate>Mon, 28 Jul 2014 09:56:10 +0200</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[III. Utilisation de PHPBoost]]></title>
                <link>https://www.phpboost.com/wiki/utilisation-de-phpboost</link>
                <guid>https://www.phpboost.com/wiki/utilisation-de-phpboost</guid>
                <description><![CDATA[Utilisation de PHPBoost]]></description>
                <pubDate>Fri, 24 Aug 2012 17:26:46 +0200</pubDate>
                
            </item>
		
	</channel>
</rss>
