Je reste dans la simplicité mais pour une Class de templates. Fonctions : - Plusieurs instanciations Possible, mais seule la première définit le template... Lire la suite
Ce script permet de générer, à la demande, des fichiers logs au format Apache. Vous pouvez ainsi générer des logs qui ne sont pas encombrés par les images,... Lire la suite
gérè l'inscription la vérification et l'envoi de mail si perdu Le tout gérer sous Codeingner FRAMEWORK. Il ya trois fichiers le controller Le... Lire la suite
Ce code permet d'enlever les balises html non désirable que l'on peut mettre dans une textarea. D'autre part tous code BBCode insérer dedans... Lire la suite
Ptite fonction toute simple qui n'apprendra rien aux coder confirmés mais qui reste pratique et que je n'ai pas croisé ici alors je post ;).... Lire la suite
Ceci est une classe permettant d'effectuer des statistiques mathématiques sur une ou plusieurs plages de données : calcul de moyenne, variance, écart... Lire la suite
Voici une class pour les sockets permettant la simplification et la compréhension de comment se déroule cette phase. Rien de particulier à citer mise à part... Lire la suite
Il s'agit d'une petite classe en PHP5 qui permet de géré simplement les requêtes SQL pour MySQL. Utilisation: Mysql new Mysql(); // Instantiation... Lire la suite
Ce code est une petite fonction qui permet d'optimisé une chaine de caractére pour la placer dans une url, pour faire de la réécriture d'url (url... Lire la suite
Voici un petit calendrier, qui génére 12 mois en php et qui retourne la date dans un input au format Y-m-d (pour insertion dans une base SQL). Le calendrier... Lire la suite
Petite fonction qui peut vous servir pour générer des listes déroulantes dans un formulaire. très simple à utiliser ça évite de faire un code tout pas beau... Lire la suite
Upload de mp3 + lecteur flash Description : Voici une page , simple a installer, qui permet de uploader des mp3 sur votre serveur. La page contient aussi un... Lire la suite
Ce site est ecrit en php 4 et mysql. c'est un site a caractère famillial, avec gestion des affichages en fonctions des droits accordés a chaque... Lire la suite
Cette fonction permet de remplacer et/ou d'insérer des conditions SQL dans une requête. Cela est pratique pour les formulaires dynamiques dont la mise... Lire la suite
Après une refonte total du script pour le transformer en class (ca m'as permis de faire ma premiere class au passage), je vous propose une classe... Lire la suite
Proverbe v.2.0 : antiflood censuration 4 pages manuel sql La version 1.0 a été supprimer je m'est donc la nouvelle Source / Exemple : ... ...... Lire la suite
avec cette classe vous pouvez mettre en forme(indenter) n'importe quel script php, pour que ça soit lisible :) pour l'utiliser c'est très... Lire la suite
il existe deux facons de faire une arborescence, la naive, et l'autre. pre-requis : http://sqlpro.developpez.com/cours/arborescence/ je propose ici,... Lire la suite
Petite classe permettant d'afficher, sans base de données, le nombre de connectés sur son site. N'hésitez pas à me suggérer des améliorations.... Lire la suite
Bonjour, Je poste aujourd'hui ma première source sur ce site afin d'avoir un avis extérieur sur ma façon de coder. Par conséquent, je suis ouvert... Lire la suite