Je viens de créer un chat en PHP et Jquery,dont j'ai utilisé PDO pour la connexion à la base de données , une classe pour inserer , actualiser et... Lire la suite
script vérifiant si une URL pointe vers une page vraiment valable. il affiche les status des pages(404, 403...) Il utilise la librairie CURL Source /... Lire la suite
Cette fonction calcul le nombre de jours contenus dans la période issue de l'intersection de deux périodes, c'est à dire le nombre de jour... Lire la suite
Je poste cette source en tant que débutant des class. Après des années à faire du php tjrs a la vieille mode limite du php3, j'ai donc entrepris de... Lire la suite
WikiLoc permet de recevoir l'article Wikipedia le plus pertinent proche de l'endroit ou vous vous situez. Il suffit d'envoyer depuis une... Lire la suite
Il est nécessaire d'installer les librairies adéquates. Le concept est la copie d'un site, La lib permet de copier le site en question dans un... Lire la suite
Ceci est une source ré-écrite à partir de la source se trouvant à cette url : http://www.phpcs.com/codes/WIKILOC-ARTICLE-WIKIPEDIA-SUR-VOTRE-MOBILE-SFR... Lire la suite
Il s'agit d'un petit jeu type quizz reprenant les fameuses énigmes de Oncle Hub dont les questions et réponses sont stockées sur une base de... Lire la suite
Voici un petit code de DUMP (sauvegarde) SQL qui fait lui même l'inventaire des tables et vous génère un gz contenant la sauvegarde complète de la base... Lire la suite
Bonjour, voilà j'ai cherché un script qui fait une recherche par mot clé sur tous les champs de toute les table d'une base de donnée et j'en... Lire la suite
Ce script, accompagné d'un exemple, est une classe qui permet d'obtenir des informations à partir du moteur de recherche de google. Il montre de... Lire la suite
Ce script est un validateur w3c inspiré d'une source trouvée sur www.phpclasses.org(http://www.phpclasses.org/package/5712-PHP-Validate-an-HTML-page... Lire la suite
Le code est simple, il permet depuis une url youtube de récupérer son identifiant et de se connecter au serveur de miniatures pour en récupérer les images... Lire la suite
Les parseurs, vous les utilisez mais vous ne savez pas forcement comment ils marchent. Voici un exemple de parseur ll simple sans lexer : Son fonctionnement... Lire la suite
ce code crée une fonction qui retourne le code HTML correspondant au pbb-code passer en paramètre. j’avouerais que ce code n'est pas de moi dans sa... Lire la suite
Pour amuser mes petits enfants, j'ai créé ce jeu de puzzle en PHP (sans base de données) Il suffit de déposer les images que vous voulez dans le... Lire la suite
Il y peu de sources utilisant les sockets ici, aussi voila un exemple de client / serveur en PhP afin d'illustrer l'utilisation des sockets. Le... Lire la suite
Tout est dans le titre :) C'est une fonction qui vous permettra de passer outre les filtres antispam des hébergeurs de messagerie tels que Hotmail... Lire la suite
Formulaire de cryptage/decryptage simple, utilisation de 2 algo successif, utilisation du module Mcrypt http://php.net/manual/fr/book.mcrypt.php Je debute... Lire la suite
Ce petit script combinant php, les fichiers de geoip et un peu de javascript a pour but de donner un maximum d'information sur l'utilisateur. Ce... Lire la suite