Bonjour, un petit code simple qui permet de parser un arbre représenté par une ligne : " ]" Ceci donnera le tableau suivant : array(2) { > array(0) { } >... Lire la suite
Permet de déterminer si l'argument passé à la fonction est un nombre premier en se basant sur la définition d'un nombre premier (divisible par 1... Lire la suite
D'aprés un excellent article parut chez php-france : http://www.phpfrance.com/tutoriaux/index.php/2008/04/30/51-un-serveur-d-objets-en-php-5-2eme... Lire la suite
* La classe originalcompo\Debug est une classe PHP5 d'aide au débogage de code PHP permettant l'affichage du contenu de variables PHP, mais aussi... Lire la suite
Ce chat est mon tout premier script je souhaiterai avoir l'avis d'autres personnes qui serais aussi plus expérimenter que moi. Source / Exemple :... Lire la suite
Voici un script dont je suis assez fier car il permet de créer très très facilement des timers en PHP. Vous pouvez ainsi afficher divers temps... Lire la suite
Voici une class qui permet de gérer les données IPTC d'une image. On peut définir la liste des tags à utiliser, les récupérer via l'image, en... Lire la suite
Cette classe vous permet de minimiser le contenu d'un fichier CSS afin de réduire la taille de vos fichiers. Source / Exemple : ... ... Conclusion :... Lire la suite
Une petite classe Mail qui facilite et permet d'utiliser la POO pour envoyer un mail. C'est ma première classe et je la poste pour que vous me... Lire la suite
On trouve pas mal de sites qui proposent d'encoder des adresses email pour vous, pour pouvoir faire des liens "mailto" sans que ça passe directement... Lire la suite
Bonjour ! Voici une classe PHP 5 permettant de simplifier énormément vos connexions FTP en PHP. Beaucoup de fonctions n'existent pas en natif en PHP,... Lire la suite
Il s'agit d'un fichier php assez utile que j'ai du développer dans le cadre d'un projet qui permet, en lui fournissant les coordonnées X... Lire la suite
Voici une classe qui utilise l'API de Google Book pour pouvoir aller chercher des informations sur un livre en particulier ou faire des recherches par... Lire la suite
Salut a tous ^^ Comme pour tous les scripts déjà faits, il y a les pré-requis et puis viens la source. pré-requis : Il vous faut -une base de donnée MySQL. ... Lire la suite
Ceci est une classe que j'ai développé pour mes besoin personnels. Elle permet de se connecter à une base MySQL et utilise l'extension PHP Data... Lire la suite
GD ne propose pas de rectangle aux coins arrondis. Certains proposent de croiser deux rectangles et de remplir les coins avec des cercles. Mais cela... Lire la suite
Ce code va repérer dans un texte tous les liens sous la forme http://... Ils seront listés et formatés en html (cliquables). Source / Exemple : ... ...... Lire la suite
Bonjour à tous et toutes, J'ai pris un peu de temps pour décortiquer de quelle manière je pouvais trouver le nombre de 1/4 d'heure entre deux... Lire la suite
Ce script permet de sauvagarder une base Mysql et ses tables . Il est configuré par défaut pour Easyphp en local . Source / Exemple : ... ... Lire la suite
cette classe permet de créer tout type de requêtes : - SELECT avec ou sans jointure, condition, et order bby - mise a jour, suppression, insertion la source... Lire la suite