Un petit bout de code php tiré d'un forum et adapté au fichier xml mis à jour quotidiennement par euronext. On peut aller chercher cette info sur plein... Lire la suite
Cette classe d'objets a pour but : d'effectuer des recherches de mots - sensibles ou non à la casse - avec ou non des séparateurs de mots... Lire la suite
Azul à tous, Dans ce petit programme, j'ai implémenté un système de pagination sur des données que je lis à partir d'une table et dont des... Lire la suite
Tout est dans le titre :) C'est simple mais assez utile ;) J'ai commencé par creer cette fonction qui est trop lourde en calucl : function... Lire la suite
SOURCE SUPPRIMÉE! SOURCE SUPPRIMÉE! SOURCE SUPPRIMÉE! SOURCE SUPPRIMÉE! SOURCE SUPPRIMÉE! SOURCE SUPPRIMÉE! SOURCE SUPPRIMÉE! SOURCE SUPPRIMÉE! SOURCE... Lire la suite
Voici une petit bout de code pour convertir une longue url en mini url. Ce code permet: - de créer des minis urls L'accès à l'API se fait par... Lire la suite
Je vous propose une classe que j'ai crée il y a un moment pour crypter des mots de passe. Le but est de générer des chaines pseudo aléatoire qui une... Lire la suite
Ce code de compteur de visite est simple et concis, je le dépose car la majorité des codes comme celui-ci sont beaucoup plus longs et plus "complexes".... Lire la suite
Classe qui permet d'afficher une portion de texte inclus dans du code HTML tout en gardant sa structure. Par exemple, lorsque vous récupérez du code... Lire la suite
Ce code est une vérification de formulaire. L'algo est basé sur une première vérification en javascript. Le code est commenté afin de faciliter sa... Lire la suite
Tout est dans le titre cette class vous offre la possibilité d'utiliser les requêtes préparés et aussi de choisir le gestionnaire des erreurs par les... Lire la suite
Bonjour tout le monde, Je poste un petit compteur de visites. Il s'agit de trois fonctions. - add_visitor lit et réécrit sur l'enregistrement... Lire la suite
Une petite fonction sans prétention calculant la clef pour des codes barre EAN. Les bases de l'algo sont simples, ont somme les chiffres pairs... Lire la suite
Bonjour à tous, Je présente aujourd'hui une version plus aboutie de ce code en ligne depuis peu. Il se compose de trois classes une interfaces et un... Lire la suite
Plat-forme de développement web avec PHP 5, architecture MVC v.1.1.1. FONCTIONNALITÉS : - Couche de persistance: Générateur des classes PHP 5 directement... Lire la suite
Un CRON journalier doit mettre à jour plus de 100000 enregistrements sur une table MYSQL (vous pourriez adapter cela à votre SGBD). D'un côté, faire un... Lire la suite
Petit script PHP sans aucune prétention qui permet d'uploader des fichier de tout type dans un dossier donné. Vous pouvez modifier le mot de passe et... Lire la suite
Bonjour à tous ;) Ceci est une petite fonction servant à retourner l'adresse absolue de la page en cours avec les variables passé en GET. Tout est... Lire la suite
Nostalgiques du Caml ou d'un autre langage permettant de curryfier les fonctions ? Ne pleurez plus, voici une class PHP vous permettant de le faire !... Lire la suite
Class simple pour ce connecter une base de donnée MySQL. Il suffit de créer un objet de class CBaseDonnee() pour pourvoir executer une requete SQL. Le... Lire la suite