Le surebet, de l'anglais sure (sûr) et bet (pari) est une méthode qui garanti des gains dans le cadre de paris en jouant sur les différences de cotes... Lire la suite
Fonction permettant d'obtenir une gamme de couleur dans un ton, en passant simplement un paramètre clair et concret. Source / Exemple : ... ... Lire la suite
Calendrier de base en 100 lignes max,sous forme de fonction, permettant le retour d'une date choisie vers un autre fichier. merci à tchconst. Source /... Lire la suite
Bonjour, Cette classe utilitaire permet de convertir une taille (d'un fichier) d'une unité à une autre. De calculer l'unité la taille la plus... Lire la suite
Ce script PHP vous permet de calculer la clé d'un code-barre type EAN13 à partir des 12 premiers chiffres de base. La méthode de calcul est expliqué... Lire la suite
Parmi la liste des design pattern créateurs on trouve : La Factory Method Le Builder Le Prototype Le Singleton A titre didactique, voici une façon de les... Lire la suite
Salut, tout le monde voilà j'ai créer ce petit calendrier totalement paramétrable on peut même ajouter des lien sur les jour .. bref en fait comme vous... Lire la suite
Redirection d'url simple avec base de donnée Petit script facile à adapter à son site web. il va chercher le lien qui est sur la même ligne que... Lire la suite
ce script vous permet de télécharger une image et de créer des miniature pour différent extension comme GIF, PNG, JPEG, WBMP et XPM Source / Exemple : ...... Lire la suite
Encore une fonction de parcours de dossiers et sous dossiers, qui retourne ici un tableau associatif avec : - en clé, le nom du fichier - en valeur, le... Lire la suite
ce script permet de générer dynamiquement une image a partir du texte passé comme paramètre dans la source de l'image. exemple d'utilisation:... Lire la suite
Bonjour tout le monde, si je poste aujourd'hui c'est pour vous présenter fORM. fORM est une class php5 qui a pour but de faciliter la gestion de... Lire la suite
Un calendrier choix libre des années et des mois jours positionnés ad hoc Pas de fichier annexe à inclure ni image, tout est compris et commenté !... Lire la suite
Je viens de créer un chat en PHP et Jquery,dont j'ai utilisé PDO pour la connexion à la base de données , une classe pour inserer , actualiser et... Lire la suite
script vérifiant si une URL pointe vers une page vraiment valable. il affiche les status des pages(404, 403...) Il utilise la librairie CURL Source /... Lire la suite
Cette fonction calcul le nombre de jours contenus dans la période issue de l'intersection de deux périodes, c'est à dire le nombre de jour... Lire la suite
Je poste cette source en tant que débutant des class. Après des années à faire du php tjrs a la vieille mode limite du php3, j'ai donc entrepris de... Lire la suite
WikiLoc permet de recevoir l'article Wikipedia le plus pertinent proche de l'endroit ou vous vous situez. Il suffit d'envoyer depuis une... Lire la suite
Il est nécessaire d'installer les librairies adéquates. Le concept est la copie d'un site, La lib permet de copier le site en question dans un... Lire la suite
Ceci est une source ré-écrite à partir de la source se trouvant à cette url : http://www.phpcs.com/codes/WIKILOC-ARTICLE-WIKIPEDIA-SUR-VOTRE-MOBILE-SFR... Lire la suite