php

TwitterFacebook
Get flash to fully experience Pearltrees

PHP Coding Guidelines | PHP Developer

These are the guidelines that I follow when writing my PHP scripts, unless a coding standard already exists for the project I’m working on. It can be helpful to have something like this if you’re working on a joint project. N.B. http://www.phpdeveloper.org.uk/articles/php-coding-guidelines/
Description Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. Other case insensitive available methods are isIphone(), isIpad(), isBlackBerry(), isKindle(), isOpera(), etc. http://code.google.com/p/php-mobile-detect/

php-mobile-detect - PHP class for mobile device detection

http://phpmaster.com/working-with-files-in-php/

Working with Files in PHP

You may well be familiar with databases such as MySQL and Access which are an ever-increasingly common means of storing data. But data is also stored in files, like Word documents, event logs, spreadsheets, image files, and so on. Databases generally require a special query language to retrieve information, whereas files are ‘flat’ and usually appear as a stream of text.

s blog: PHP Sucks! But I Like It!

http://blog.ircmaxell.com/2012/04/php-sucks-but-i-like-it.html I read a rather interesting post yesterday called PHP: a fractal of bad design . It's been getting a lot of traffic among the PHP community lately because it's rather inflammatory. But to be honest, it does make a lot of really good points.
http://antoine-herault.developpez.com/tutoriels/php/upload/

Upload de fichiers en PHP

Alors ce tutoriel est fait pour vous. Vous verrez, en lisant ce tutoriel qu'uploader un fichier en php est faisable mais qu'en plus c'est très simple ! ;o)
This is a tiny tool that allows you to launch the built in PHP 5.4 HTTP test server with a few clicks. It allows you to select which PHP binary you want to use (in case you have multiple on your system) and the document root of the test server. Click the picture for a larger screenshot of the application running. Keep in mind PHP-GTK 2 does not currently support PHP 5.4. http://php-gtk.eu/en/apps/pewpew-phps-embedded-webserver

pewpew - PHP's Embedded Webserver | PHP-GTK Community

Grocery Crud - Un générateur de CRUD basé sur CodeIgniter - La Ferme du web

Dans vos applications web et en particulier dans vos espaces d'administration, vous répétez toujours les mêmes tâches à savoir: Créer une fonction de listing, de création d'une nouvelle entrée, la fonction de modification et celle de suppression. En d'autres terme, créer un CRUD (Create Read Update Delete). Vous l'aurez compris, dans cet exemple, le générateur va créer un CRUD à partir de la table customers avec les champs spécifiés avec la méthode columns. http://www.lafermeduweb.net/billet/grocery-crud-un-generateur-de-crud-base-sur-codeigniter-1315.html

PHP Bug Lost - Déboguer et monitorer vos applications - La Ferme du web

http://www.lafermeduweb.net/billet/php-bug-lost-deboguer-et-monitorer-vos-applications-1287.html Comme le Profiler de Symfony2, PHP Bug Lost permet d'ajouter une console de débug et de monitoring sur ses sites à partir d'un seul fichier. En ajoutant ce script, vous pourrez monitorer et déboguer plus facilement vos applications en regroupant toutes les informations essentielles en bas de page, à la manière du profiler de Sf2 ou de Firebug. Ainsi en mode console de déboguage, vous pourrez visualiser les variables instanciées sur votre page, visualiser les requêtes SQL, gérer la gestion de message (erreur, warning, message), le temps d'exécution des pages, etc.
http://www.blog-nouvelles-technologies.fr/archives/9456/gerer-lenvoi-de-sms-en-php-textmagic-vous-aide/

Gérer l’envoi de SMS en PHP : TextMagic vous aide | Le blog des nouvelles technologies : Web, Technologies, Développement, Interopérabilité

Gérer l’envoi de SMS en PHP : TextMagic vous aide Avez-vous déjà remplacé l’envoi d’un mail par un SMS ? En effet, tout comme de nombreux sites le proposent désormais, envoyer un notification par un message texte, autrement dit un SMS , au lieu d’une notifications par courrier électronique, autrement dit un mail, peut être très utile dans le cas d’informations sensibles, ou urgentes. Après quelques fouilles sur le Web, j’ai retenu quelques solutions , dont il est très simple de mettre en place. En tout cas pas plus difficile que d’envoyer un mail… Laissez-moi vous montrer comment ! À mon insu, l’envoi de SMS peut être très facile puisqu’il vous suffit d’envoyer un mai l… En effet, vous pouvez envoyer votre texte à une adresse e-mail et il sera délivré au numéro que vous avez spécifié.
http://php.net/index.php [20-Mar-2012] The migration of the PHP source code from Subversion to Git is complete. You can clone or fork the source from our GitHub mirror , and we also now support pull requests made via GitHub. The source is also available via git.php.net , and full instructions on cloning the php-src tree can be found at php.net/git . One immediate benefit is that future PHP release tags will be signed by the PHP development team. We will be releasing GPG keys for verification purposes in the next few days.

PHP: Hypertext Preprocessor

Creating a Secure Login System the Right Way | Tinsology

The above example is stripped down; there is no formatting or styles so it will most likely won’t look to great if you copy and paste the code. Making your form pretty is beyond the scope of this article. In the form tag, notice that it has three attributes: name, action, and method. Name identifies the form and is not very important in the context of this article.

10 super useful PHP snippets you probably haven’t seen | CatsWhoCode.com

Text messaging with PHP using the TextMagic API If for some reason, you need to send text messages to your clients cell phones, you should definitely have a look to TextMagic . They provide an easy API which allow you to send SMS to cell phones. Please note that the TextMagic service isn’t free.
When Rasmus Lerdorf first put PHP together, he - quite sensibly, despite his heritage - chose not to write it in Greenlandic or Danish. Good job too - that would have been rather unpleasant to work with. He opted instead, being in Canada at the time, for the local tongue. No, not French - that bastard dialect of the Queen's English commonly referred to as "US English" 1 .

If PHP Were British - Added Bytes - Brighton Web Application Development

Drupal Module Building a Content Type Tutorial . Begin this post, we will try to build module with more complex content type. We will explore some API, such as Drupal Schema API, Drupal Node API, and Drupal Database API.

Free Online Tutorial PHP - PAGE - PHPEveryDay

Détecter si le visiteur vient d’un iPhone iPad iPod Android | eBuildy blog, Web, Adobe flex, JQuery,Flash,Prestashop

Avec tous ces mobiles et surtout les forfaits qui vont avec, la part des visiteurs venant d’un mobile est à présent significative. Le hic est que les tailles d’écran proposé (à part le iPad qui n’est pas un mobile…) est souvent minuscule, et donc, très souvent le site visité est inapproprié à la navigation sous mobile. Il existe 3 solutions de détection: L’avantage: le visiteur est redirigé de suite sans charger la page par défaut. La redirection est donc “propre” (par exemple sur un sous domaine: http://mobile.ebuildy.com ) L’inconvénient: il faut réécrire un site compatible