Voila une petite classe permettant de régler définitivement les litiges pour les syntaxes en PHP. Appelée comme suit : $bench new bench(); $bench... Lire la suite
Il faut créer la base de données : En fonction du nom que vous mettez dans connection.php à la variable $NomDb. Ensuite vous executez le fichier... Lire la suite
Ce code va tester si le navigateur supporte le flash et va afficher la page en fonction du résultat . Source / Exemple : ... ... Conclusion : Explication du... Lire la suite
Chat, livre d'or antiflood, sessions, compteur, calendrier, smileys, statistiques protégées par mot de passe, censure, exclusion d'IP, listage de... Lire la suite
d'accord, je vous l'accorde on a déja vu pas mal de fois ce code sur phpcs...Erreur... on a déja vu pas mal de fois des fonctions qui ressemble à... Lire la suite
trois fonctions qui servent a decouper une chaine de caractere suivant la separation entree. fct_string_after($chaine_source,$separateur),... Lire la suite
Je suis conscient que l'optimisation de ce code, laisse a désirer, mais à la fois on prend tout alors bon ... Il se destine principalements aux... Lire la suite
Bonjour, J'ai beaucoup surfez et je n'ai jamais trouvé d'annuaire de PARTENAIRES en open source. Ceci est la premiere version mais je... Lire la suite
Cette classe permet d'instancier des objets représentant un ensemble de fichiers qui pourront être téléchargés. L'utilisation est assez intuitive... Lire la suite
Cette fonction permet de convertir un montant en chiffre (251,01) en lettre (deux cent cinquante et un euros et un cents). La source n'est pas... Lire la suite
"Theorème des restes Chinois"... pour les amoureux de l'algorithmic Algebra! ... code purement ludique... Source / Exemple : ... ... Lire la suite
C'est une classe PHP qui créé automatiquement une classe pour chaque table MySQL. C'est une version bêta que j'ai développé à... Lire la suite
MISE A JOUR : j'ai rendu le script plus générique, donc allez voir à cette adresse plutot : http://www.phpcs.com/code.aspx?ID 30644 ---------- Un... Lire la suite
Alterne les couleurs de lignes d'un tableau et le survol avec une couleur différente ceci est un ramassis d'astuces des autres de beaux tableaux... Lire la suite
bjr je vient de commencer a faire du php y a 2 jours et j'ai chercher comment faire pour enregistrer du texte et le retrouver dans un tablaeu.... Lire la suite
Bon. Dans un script de galerie que j'ai fait, j'avais besoin de créer multiples sous dossiers. Et c'est à ce moment là que j'ai remarqué... Lire la suite
Cette fonction (très simple) permet de masquer l'IP d'un visiteur. Il est possible de passer de 182.152.92.45 à 182.***.92.** Vous pourrez... Lire la suite
Ce script permet de sécuriser une page. car en pratique une session est persistante et qu'il faut fermer le navigateur pour effacer la session de la... Lire la suite
Voici une fonction qui permet de rajouter des backslash devant les caractères qui peuvent être problématique dans votre code. Mais à quoi ca sert réellement... Lire la suite
Bonjour, Ceci est ma toute première contribution, qui n'aurait pu se faire sans Anthomicro et ... . Merci à eux donc. Pour mon projet, j'avais... Lire la suite