Classe permettant de convertir une date au format Unix (nombre de secondes écoulées depuis le 1er Janvier 1970 jusqu'au moment x). Par exemple... Lire la suite
La création d'un utilisateur dans Active Directory Win2k3 via LDAP nécessite un mot de passe dont la qualité doit répondre à la stratégie du serveur... Lire la suite
Validate du numéros d'identification des entreprises (SIREN) et Validate du numéros d'identification des établissements(SIRET) Source / Exemple :... Lire la suite
Cette fonction permet de calculer le nombre de jours ouvrés entre deux dates, week-end et jours fériés compris. Il existe des tas de fonctions le... Lire la suite
Voici une classe qui génère et résout des labyrinthes en php le résultat peut être afficher en image/png ou en tableau html. Pour l'utilisation... Lire la suite
Après de très nombreuses recherches sur le et je n'ai jamais réussi a trouver une fonction qui interprète le bbcode de façon correcte. j'en ai... Lire la suite
deleteddeleteddeleteddel eteddeleteddeleteddeletedd eleteddeleteddeleteddeleteddeleteddelete ddeleteddeleteddeleteddele teddeleteddeleteddeleteddeleted... Lire la suite
Voici une petite ébauche de classe de gestion d'erreurs. Je m'initie à la POO depuis peu de temps et j'essaye d'apprendre par la... Lire la suite
Fonctions permettant de contrôler la validité des numéros SIREN, SIRET et codes-barres de type EAN-13. Utilisation : - is_siret(numero_siret) // pour... Lire la suite
Tous petit bout de code qui lit un fichier .xml et qui le stock dans un tableau de tableau associatif. Cela ma servis par exemple pour pouvoir importer une... Lire la suite
Voici un nouveau code qui rend compatible une newsletters html à gmail. Et oui car comme tous le monde sait, ou pas :D le webmail gmail n'aime pas... Lire la suite
COMPATIBILITE Ce code a ete fait sous linux, PHP Version > 5.2.4-2ubuntu5.3 les tests ont ete effectues sous firefox 3. Ce code utilise les socket, et les... Lire la suite
Une suite logique que j'ai découvert dans un des livres de Bernard Werber : 1 11 21 1211 111221 312211 etc... La voici adaptée en php, ça ne sert pas à... Lire la suite
C'est un simple formulaire pour envoyer un mail, il suffit simplement de faire un copier/coller sur ton code, j'ai tout mit sur une page car... Lire la suite
sur cette source, je vous presente trois interpreteurs brainfuck. le premier sans preprocessing le second, est plus rapide, il evite une boucle. le troisime... Lire la suite
On peut extraire tout les mails d'un fichier sans se prendre la tête pendant dans jours... Qu'en pensez vous? Soyé pas trop méchant SVP Ne... Lire la suite
Voici une classe qui permet de générer un arbre sous forme d'un tableau multidimensionnel. L'avantage de cette classe c'est qu'elle ne... Lire la suite
Voici mon premier programme en PHP qui pour le moment permet d'enregistrer vos dépense et de les voir, le plus dur à été pour les includes et... Lire la suite
Une page de download avec plusieurs categories, vous pouvez en ajouter ou en suprimer ! Pour le reste voyer le fichier lisez-moi ! ;) Source / Exemple : ...... Lire la suite
Ce proxy supporte les methode POST et GET il est en version squelette car il souffre de quelque lenteur Source / Exemple : ... ... Conclusion : voila des... Lire la suite