Hello ! J'ai vu la source de Romuald et j'ai une autre façon de voir si un nombre est pair ou impair : Si on divise un nombre par 2 et que... Lire la suite
Bijour ! Bon tout connement un code qui va inverser l'ordre des lettres d'un texte ... Je suis d'accord avec toi ça sert à rien mais bon,... Lire la suite
-- XO.CALENDAR -- Le html provient de www.geekboys.org Script running @ http://rflood.free.fr/calendar.php Testé avec php4.3 Source / Exemple : ... ...... Lire la suite
Renvoie donc le nombre de jour qu'il ya dans un mois en fonction de l'année Ca s'utilise de la sorte : rtrn_month_daynb("02","2004") pour... Lire la suite
Voici les bases d'un moteur de recherche. En fait, il s'agit plutôt d'un parseur html/css... Vous entrez l'adresse d'une page html,... Lire la suite
:: PwsPHP V 1 B4 Modifications depuis la B4 - Envoi d'emails, meme à partir de Free - Forum avec plusieurs catégories - Un nouveau theme - Fonctions de... Lire la suite
Cette classe permet de remplir les fonctions élémentaires de connexion à MySql. Les méthodes disponibles sont : Constructeur : MyDatabase( ) Connexion :... Lire la suite
Voila une petite fonction utilisant les expression régulière (regex) ... Elle permet de remplacer des tag tel que en ou autre ... Vous pouvez toujours en... Lire la suite
enlever les partie du corps invisible remetre le corps www.sloche.com Source / Exemple : ... ... Conclusion : mysql Lire la suite
Ce code est pratique dans le cas où l'on veut afficher un nombre précis d'enregistrement par page (dans le cas d'un guest book par exemple)... Lire la suite
DBRandomPassword V 1.0 est une nette amélioration d'une méthode possible utilisant la fonction rand() pour générer des mots de passe aléatoires, basée... Lire la suite
Voici un code tout bête mais très utile pour ceux qui veulent partager sur leu site Internet leur contenu local! Pour cela le code source a besoin de 2... Lire la suite
Cette fonction calcule la différence de temps entre deux dates dans l'unité de votre choix si vous ne voulez pas l'effectuer dans la requete... Lire la suite
salut tt le monde, J ai pas trouvé, une methode sur le forum pour supprimer les (" ou les ') donc voici j pense que sa pourra depanner car desfois il... Lire la suite
Bonjour, c'est ma première contribution php, :D Youpi !!!! plutôt habitué de flash ou je viens de créer un agrégateur de flux RSS, je vous propose un... Lire la suite
Source qui s'adresse au débutants. Vous voulez faire une rubrique et vous aimeriez qu'ils utilisent le compte qu'ils ont sur votre forum... Lire la suite
Bon c'est pas une source, juste la base de données SQL, avec le saint du jour, l'heure du lever et du coucher du soleil, à l'heure de Paris.... Lire la suite
Ce code affiche un formulaire qui permet de s'identifier à un forum phpBB2, vous pouvez par exemple l'intégrer à une page de votre site. Vous... Lire la suite
Je cherchais un truc aussi simple en PHP qu'en Javascript ou en VBSCript pour rediriger une page vers une autre, lors de l'identification réussie... Lire la suite
Ce code récupère l'id d'un membre connecté à votre forum phpBB2. Vous pouvez donc ensuite récupérer son pseudonyme, ses messages privés, le nombre... Lire la suite