Ce petit projet contient un ensemble de pages php (et php objet) et se base sur une base mysql (script de création dispo dans l'archive) pour créer,... Lire la suite
Imagine CMS est un script d'espace membres. Il a été créé en PHP avec un peu de javascript. Il dispose d'un panel d'administration avec... Lire la suite
J'ai fait cette source dans le cadre d'un projet en cours. Elle permet une utilisation d'utilisateurs avec login/mot de passe et des droits... Lire la suite
Supprimer ici et déplacer vers : http://www.phpcs.com/tutoriaux/EXEMPLE-CREATION-SCRIPT-AUTHENTIFICATION_1050.aspx Lire la suite
Une fonction qui vous permettra de convertir une chaîne UNICODE en entité HTML. Par exemple : Am\u00e9lie a mal \u00e0 la t\u00eate. donnera Amélie a mal à... Lire la suite
Vous souhaitez inclure un sondage en ligne sur votre site. Certes, l'interface admin n'est pas de toute beauté mais ça fonctionne ;-) -... Lire la suite
Bonjour, Dans le cadre d'un projet lié à mon lycée, j'ai dû développer un certain nombre de classes, dont une faite pour gérer des fichiers. Sur... Lire la suite
Bonjour, après avoir longtemps cherché sur le net un code qui correspond exactement à ce que je voulais, à savoir effacer les fichiers .png de mon... Lire la suite
Un debugger simple et léger. Version 1.0.0 : - Redirection des informations vers plusieurs sorties (écran ou fichier) - Affichage amélioré - Configuration... Lire la suite
Voilà c'est le 1er script que je pose sur ce site. Il est très simple je sais, mais faut bien commencer gentillement. Ce script permet donc de générer... Lire la suite
Une petite fonction de création de barres de couleur (rvb) avec un affichage en dégradé. Je me suis très fortement inspiré de la très bonne source... Lire la suite
Voici une petite class en php qui permet de créer un système de pagination, elle est assez propre je pense, je m'en sert et elle est stable alors... Lire la suite
Cette Class vous permet de faire une authentification sécurisé de vos membres. Elle peut s'adapter facilement a vos codes. Source / Exemple : ... ...... Lire la suite
Cette class est simple d'utilisation et modulable, elle vous permet de creer un system de recherche avancé sans avoir refaire des manipulations... Lire la suite
Dans le cadre des champs de formulaire, on contrôle la validité de l'entrée par une regex. Sauf que pour un champ donné, disons l'adresse email... Lire la suite
Une petite application en PHP et une base MySQL pour la gestion des informations utiles sur les enseignants dans DREF: ajout, modification et la recherche... Lire la suite
Une classe générique gérant des paramètres qui sont accessibles sous forme de tableaux ou de propriétés. Source / Exemple : ... ... Lire la suite
Une classe générique qui implémente le singleton design pattern en utilisant le Late Static Bindings (Résolution statique à la volée) de PHP 5.3. Plus... Lire la suite
Une classe générique qui implémente le factory design pattern en utilisant la Reflection API de PHP 5, les espaces de noms et le chargement automatique. (Il... Lire la suite
Une classe "racine" permettant d'éviter des erreurs fatales et facilitant le débogue, il suffit de l'étendre pour profiter de ces fonctionnalités.... Lire la suite