Je présente ici une attaque faite sur un upload de fichier lorsque l'on vérifie le type avec $_FILES C'est une faille que l'on pourrait... Lire la suite
.................................................................... .................................................................... PhpExplorer 1.00... Lire la suite
Une fonction qui retourne la date du jour en français. En paramètres : la date à afficher, le type de date fournie On peut rajouter le type de séparateur,... Lire la suite
Ayant vu tout les scripts pour les dates francaises, voila celui qui regle tout et sans trop de complications... Source / Exemple : ... ... Conclusion : Et... Lire la suite
c'est une application de gestion des congés annuels du personnel d'une société. avec des parametres: sigle qu'il faut ajouter ".ico'"... Lire la suite
Cette class parcourt vos dossiers et indexe les fichiers image avant d'y insérer un copyright avec votre nom ou encore l'adresse de votre site... Lire la suite
Si jamais vous avez besoin de créer des miniatures, par exemple pour un espace membre pour mettre des avatars (pas besoin de conserver sur la photo à 2Mo!),... Lire la suite
Bonjour, alors voilà c'est une class BBcode permettant le parsage et déparsage d'un code et l'affichage de tout les bouttons de BBcode. Par... Lire la suite
Comment envoyer un mail sans la fonction mail ? (elle est parfois désactivée) j'ai aussi pris le temps de gérer les envois à de multiples personnes,... Lire la suite
Je présente ici trois requêtes. Ces requêtes permettent d'effectuer des requêtes vers une table. Elles regardent dans la variable GET tous les champs... Lire la suite
Donc , une fonction , qui fait que vous lui donnée une date jj/mm/aaaa sans les zéros initiaux pour les jour et les mois et la fonction vous retournera le... Lire la suite
Ok, c'est une simple fonction que j'ai ecrite suite a un message sur le forum. Le but etait d'inserer dans une base de donnees Mysql des... Lire la suite
Un petit jeu en php très simple. Il suffit de compter. Pour télécharger l'image : le petit zip ;-) URL test : http://intuxication.net/~p3drix/walker/... Lire la suite
Google a ouvert un nouveau service qui propose de générer une carte de votre site, dans cette carte se trouve les liens principaux de votre site, ainsi que... Lire la suite
Ok, ceci est juste un tout petit exemple. Il n'a pas pour but d'etre mis sur un site, il lui manque bien des choses pour un tagboard ;-) Il... Lire la suite
Ce code permet de se connecter à une base de données sous Access en php grâce au lien ODBC. Il permet aussi d'exécuter une requête qui récupére les... Lire la suite
bon je débute mai voila une source simple. dite moi touts vos criter Source / Exemple : ... ... Conclusion : cette source et débutant. Lire la suite
J?ai commencer ce code car je voulais exécuter 26 000 requêtes sur ma base de donnée en Local, mais le problème que j?ai eu avec PHPMyAdmin, c?est que je... Lire la suite
J'ai essayé les fonctions htmlspecialchar() et htmlentities()... Mais je n'ai rien trouvé de pertinent et efficace. Finalement j'ai écrit... Lire la suite
Formater la date et l'heure pour qu'elles soient enregistrables dans MySQL Source / Exemple : ... ... Conclusion : Je sais que ce n'est pas... Lire la suite