Il s'agit d'un calendrier par semaine, et non par mois. Ce calendrier affiche donc 1 seule semaine à la fois... Par défaut la semaine en cours. Ce... Lire la suite
Ce script tout bête sert a redimensionner une image pour obtenir un poids différent. J'ai vu d'autres scripts pour redimensionner des images afin... Lire la suite
Voila une premiere version d'une classe permettant de gérer une redimension d'image. La source est relativement simple car j'ai voulu enlevé... Lire la suite
RSS Comment récupérer le contenu d'un fichier XML qui sert pour les liens RSS ? avec une seule fonction en mode récursive . 1 création d'une... Lire la suite
Ce code sert à retrouver le hashage md5() qui est utilisé pour la sécurité des échanges de paquets sur le web. Source / Exemple : ... ... Conclusion : Pour... Lire la suite
trouve un antecedant d'une valeur hashee par md5... c'est en quelque sorte la relation reciproque si on vire le break... max@max... Lire la suite
La création de miniatures est souvent synonyme de difficulté pour les codeurs débutants. Sachant que j'en suis presque un, je me suis penché sur une... Lire la suite
Convertir un document XML en tableau associatif n'est pas en soi très utile... Cependant, on ne sait jamais, et personnellement, j'utilise cette... Lire la suite
Bonjour Ce petit code permet de contôler les répétitions de caractères et aussi de l'interdire. Je l'ai fait suite à la demande d'un ami qui... Lire la suite
Bonjour à tous, J'ai développé cette source afin d'éviter de compter les visites des robots dans mes compteurs de... Lire la suite
Voilà une source fait en vitesse pour trouver si un nombre est premier d'une facon très rapide grace au crible d'Ératosthène. La raison de cette... Lire la suite
En réponse à... http://www.phpcs.com/code.aspx?ID 42504 et parce que c'est chiant de proposer une correction du codes des autres dans les commentaires... Lire la suite
Le script crée 2 boutons (Pour - Contre) Puis le script regarde le titre de la pièce jouant sur votre webradio. Si il s'agit de la première fois que... Lire la suite
Voila c'est la toute premiere source que je poste, j'ai fait cette classe pour commencer la programmation objet en PHP, j'ai voulu respecter... Lire la suite
Ces regexp ont ete developpees pour une recherche d'informations personnelles dans un cv donc beaucoup de mise en forme differentes a gerer. Vous y... Lire la suite
Hi Everybody ! Je viens aujourd'hui vous présenter une chtite classe de gestion des transactions BDD. Je fais ca sans prétention et je me tourne vers... Lire la suite
Il s'agit d'une petite class (inspirée des class du cakePHP) qui permet de gérer de simples requêtes sous MySQL! Elle supporte les table avec... Lire la suite
Version PHP 4 de la fonction http_build_query() disponible sous PHP 5 et ma foi bien pratique... .. . Source / Exemple : ... ... Conclusion : Je ne met pas... Lire la suite
Bonjour à tous, Après une première approche complètement ratée (voir : http://www.phpcs.com/code.aspx?ID 42628), je propose une autre solution qui est... Lire la suite
Salut à tous, Je poste juste cette petite classe de lecture de flux RSS sans prétention. Elle est sans prétention dans le sens ou elle n'est pas très... Lire la suite