Dans l'objectif de créer un framework PHP francophone, j'ai mis au point une classe d'exploitation MySQL. La voici donc: Source / Exemple :... Lire la suite
Ces programmes prend les chiffres qu'on lui donne et fait le thoereme de Pythagore ou la réciproque de Pythagore. il est sécurise car les chiffres... Lire la suite
/** * Classe de configuration pour la gestion d'erreur * * Permet de définir et lire la configuration à l'exécution * Eventuellement fonctions... Lire la suite
Cette classe va vous permettre de manipuler les répertoires et les fichiers, mais aussi de créer vos propres filtres : voir les 2 filtres fournis en exemple... Lire la suite
Moteur de template leger niveau code (250 lignes commentaire compris) l'utilité de ce source est de voir la puissance de la fonction __toString()... Lire la suite
Voici un système permettant la redirection des exceptions dans un systeme de log. 1 classe abstraite: classe logException dérivée de la classe PHP5... Lire la suite
Suite à une ancienne source j'ai souhaité reprendre complètement celle ci et la transformer en classe permettant de gérer des vidéos grâce à ffmpeg.... Lire la suite
Ce script permet de forcer le téléchargement d'un fichier. La variable $exts_allowed est le tableau des extensions autorisées. Ne pas mettre les... Lire la suite
Le script suivant permet de créer une image GIF transparente avec un texte. Cette fonction est très utile pour afficher des adresses mails non détectable... Lire la suite
Comment traiter les erreurs PHP qui ne peuvent être interceptées et gérées par script PHP? Impossible ? Pas si sûre ! ? E_ERROR ? E_PARSE ? E_CORE_ERROR ?... Lire la suite
Un petit navigateur , Qui marche très bien sur le serveur ftp de la freebox Serais mis a jour très bientot Source / Exemple : ... ... Conclusion : Il i aura... Lire la suite
Voici une classe PHP5 pour la gestion de feuille de temps en vue d'effectuer par exemple une estimation de date de fin en jours ouvrés. Calcul exact... Lire la suite
Ce script vous permettra de savoir combien de visiteurs sont connectés sur votre site. Le script utilise la fonction session_start() : si vous êtes hébergé... Lire la suite
Comment faire un enum en php ? http://fr.php.net/manual/en/language.oop5.php#73929 ici on pouvait trouver une solution qui semblait correcte et simple, mais... Lire la suite
Une quarantaine de lignes de codes que j'ai crée à partir d'une page blanche en exactement 30 minutes. Ces lignes sont d'une grande utilité... Lire la suite
Oui je sais, ca fait encore une de plus ! :) Mais personnellement je n'ai rien trouvé qui me convienne en Php5. Cette classe essaye au maximum... Lire la suite
Un wake on lan que j'ai déjà publié sur le forum. Je pense qu'il sera plus visible ici vu les difficultés que j'ai eu à trouver des... Lire la suite
Il s'agit de valider en un rien de temps un formulaire, quelque soit le nombre de champs. Le script vérifie le contenu de chaque champ en fonction ce... Lire la suite
Voici une fonction que j'ai écrit récemment et qui me permet de récupérer rapidement tous mes objets stockés dans ma session. Au chargement de mon... Lire la suite
Bonjour, Cette classe permet de couper une chaîne de caractère à une longueur donnée. La chaîne sera coupée entre deux mots et en dehors d'une balise.... Lire la suite