Voici quelques bouts de codes qui vous permetrons de mettre en commun une liste de personnes bannis. Le principe est simple : on peut avertir quelqu'un... Lire la suite
Pour ma premiére source c'est un mod_rewrite en PHP (Il y a une source de ce type sur le site mais elle est complétement différente) qui gére les... Lire la suite
Le code permet d'envoyer un mail avec plusieurs pièces jointes Source / Exemple : ... ... Conclusion : Voila !!! j'ai pas mal galèrer pour trouver... Lire la suite
Je vais vous présenter ici comment intégrer mon systéme de cache dans vos codes ceci afin de diminuer considérablement le temps d'execution de vos... Lire la suite
Un de mes amis m'a demandé de lui faire ce bout de code tout court mais qui peut servir. Le principe: on donne un string en paramètre. Si c'est un... Lire la suite
Je me suis demandé s'il y avait un moyen pour moi de créer une page perso qui me dise sur lesquels de mes comptes mail j'ai des nouveaux mails...... Lire la suite
Ce compteur permet de faire une trace sur le visiteur du site (IP, heure d'entrée) Il se base sur les sessions, donc il ne compte un nouvel utilisateur... Lire la suite
c'est un blog composé de 3 pages : # 1 page administrative ('admin.php' protégée par pseudo et mots de passe) qui permet de gérer votre blog... Lire la suite
Chers codeurs, de retour de vacance et frais comme un gardon, je vous propose un script capable d'exploiter une faille importante concernant le PR de... Lire la suite
Ce script muni de sa page d'administration vous permet de construire une liste d'animations flash à faire défiler dans un volet glissant , il fait... Lire la suite
Encore un forum ? oui mais en un seul fichier PHP + 2 petites images. Logiciel sans prétention qui se met en oeuvre de façon immédiate. Possibilité... Lire la suite
Gestion de panier: ajouter, insérer, déplacer, supprimer, trier, repérer, vider, enregistrer dans un fichier, afficher dans le navigateur... C'est une... Lire la suite
Encore une classe PHP opérationnelle et complète qui reprend les lignes essentielles de la classe TIniFile disponible en langage Delphi (cf inifiles.pas).... Lire la suite
Ce code vous permettra d'apprendre à stocker et lire des images stockées dans MySQL depuis PHP. Bien que le langage PHP en soit à sa version 5, je... Lire la suite
/*************************************************************** * * * Classe Date Francaise * * ---------------------- * * Affichage d'une date en... Lire la suite
Donc voilà un petit fraguement de code que javais fais pour un amis et que j'ai quelque peut améliorer encore. Je le publie aussi pour passer une... Lire la suite
Tant que la session ne l'autorisera pas, il sera impossible de télécharger le fichier ZIP (quoi que l'internaute puisse en penser). Ce code source... Lire la suite
j'avais besoin d'une fonction permettant de separer les "valeurs" des "index" d'une variable passee en format CSV pour generer une query SQL.... Lire la suite
Cette petite fonction permet de créer un répertoire, mais en mieux lol. Exemple : créer "/essai1/essai2/essai3/" Si essai1/ n'existe pas, on le crée Si... Lire la suite
Comme je vois que c'est la mode des fonctions sur les fichiers ;-) avec 2 jolies fonctions pour créer des dossiers, je me lance aussi ! Voici une... Lire la suite