La classe myArray, pour l'instant en version "j'ai codé comme un cochon" permet l'exécution de requête de type sql sur un tableau (Array).... Lire la suite
Au fil des missions que j'ai effectuées, je me suis rendu compte que beaucoup de développeurs ne portaient pas une grande attention aux encodages des... Lire la suite
Définition wikipédia : Le test du khi2 (prononcer « khi-deux » ou « khi carré », qu'on écrit également à l'anglaise « chi-deux » ou « chi carré »)... Lire la suite
Voila mon premier code objet oriente Ce code comporte 3 classes donc une principale : mysqli_access extends Mysqli et deux autres utilisees par la premiere... Lire la suite
Upload multiple en... un peu plus que 36 lignes: 82, en fait. J'ai rajouté un contrôle du type Mime et de la taille du fichier. J'ai fait dans le... Lire la suite
Cette fonction a été réalisée dans le but de récupérer le repertoire où elle se trouve par rapport à la racine du site. Cette fonction faisant parti... Lire la suite
Un débutant pour les débutants... Petite histoire: en récupérant un texarea provenant d'une base de donnée pour le mettre dans un pdf (avec fpdf) je me... Lire la suite
Ce script va récupérer des informations sur le site Allocine.fr sous forme de tableau. Ex : Array ( > Che - 1ère partie : L'Argentin > Steven... Lire la suite
Voila ce script (non-dynamique) en PHP est on ne peut plus simple, il permet de passer d'un temps exprimé en secondes (mettons 125000), donc très... Lire la suite
Bonjour, Ceux qui me connaissent savent qu'il y a une chose (parmi tant d'autres) que je ne supporte pas : les vulnerability scanner. Petit rappel... Lire la suite
C'est une API PHP5 qui encapsule entièrement le module LDAP de PHP afin de faciliter son utilisation. L'API est composée des classes suivantes :... Lire la suite
L'interface en programmation objet en plus de définir une structure de classe peut également être considérée comme un contrat. C'est un peu la... Lire la suite
!!! Attention nécessite curl !!!! Cette source permet de créer un mini crawler php pour récupérer des pages php qui peuvent nécessité un formulaire... Lire la suite
L'Observer / Observable pattern est super pratique car il vous permet de faire du code évènementiel. Contrairement à la majorité des implémentations,... Lire la suite
Le jeu du kemo ou pendule consiste à trouver un mot, fourni au hasard. Fonctionnement du jeu par défaut : - Lettre en bleu bien placer - Lettre en rouge mal... Lire la suite
Ce diaporama est intégré à une nouvelle version du kit déposé sur code source le 27/02/2008 (http://www.phpcs.com/codes/KIT-CREATION-SITE... Lire la suite
Bonjour, Alors voila, simple et basic, histoire d'apporté un regarde différent (Tout du moins par rapport aux codes du genre qui se compliquent la tête... Lire la suite
Bonjour à tous et à toutes ! Suite à plusieurs remarques dans les commentaires (les 6 premiers ne sont du coup plus valables :D), j'ai refais ma classe... Lire la suite
Ce petit projet contient un ensemble de pages php (et php objet) et se base sur une base mysql (script de création dispo dans l'archive) pour créer,... Lire la suite
Imagine CMS est un script d'espace membres. Il a été créé en PHP avec un peu de javascript. Il dispose d'un panel d'administration avec... Lire la suite