Une résumé en français est disponible en fin d’article. Lately, I’ve been looking for ways to detect faces in photos with PHP. Nowadays, face detection is built in many consumer products (camera obviously, but also Google and iPhoto), and seems to be a pretty common job.
PHP command line syntax checking Posted April 24th, 2010 in PHP The PHP CLI (command line interface) allows basic syntax checking of a PHP file. I'll show the basic usage of this in this post and then a couple of ways to check all files in a directory, and all files recursively down the directory tree as posted by a couple of people on Twitter. Syntax checking a single PHP file from the command line
These days I tried some plugin to send e-mail message within WordPress via SMTP. Since my domains email is hosted with Google applications I decided to send my messages via the SMTP server from GMail. I found several articles and PHPMailer tutorials, but a lot of them didn’t worked for me. Why using GMail for sending mail messages? First of all it’s FREE! Sure most website owners can use their own SMTP server for sending email messages from their website, but it makes sense even than to use GMail for sending mail.
Choosing a good PHP frameworks can help you develop complex Rich Internet Applications quickly, with a best practices oriented approach, and saving a lot of time reusing code snippets that are already available. There are a lot of interesting PHP frameworks you can choose for your next web project. Which framework you choose is really a personal decision. There is no one “best” framework on the market at the moment. Different frameworks are better for different types of projects, and for different developer.
This tutorial will explain many small techniques which will, hopefully, help optimize your php scripts. I considered myself a bit of a PHP pro until I started researching some of this stuff and realized that there is a whole realm of information out there about optimizing php that I didn’t know about. I hope you will be as surprised as I was about some of the things you might learn from this article. Output of Data
Easy Thumbnails with PHP Home > Back End, PHP > Easy Thumbnails with PHP Don’t hassle with image processing software if you don’t have to. This post will show you how to automate your thumbnail making with PHP. What You’ll Need Before you can get started you’ll need to make sure your server has the GD library installed. If you’re not sure if it is, just create a PHP file, and place <?
MySQL is one of the most popular relational database management systems (RDBMS) around, with over 6 million installations. It’s a fantastic choice for any new developer, because of its open source nature, wide support and abundance of tutorials available on the subject. Here are some great tips and tools (beside phpMyAdmin) to improve your MySQL coding, and to help you save time.
Introduction Producing code that clearly conveys a developer’s intent is key to any well written application. That not only applies to PHP, but every programming language. Developers who emphasize the creation of legible code tend to create applications which are easier to both maintain and expand upon. Three Quick Tips To Make Your PHP Understandable
By Viral Patel on May 7, 2009 Following are list of 15 most useful PHP code snippets that a PHP developer will need at any point in his career. Few of the snippets are shared from my projects and few are taken from useful php websites from internet. You may also want to comment on any of the code or also you can share your code snippet through comment section if you think it may be useful for others. 1.
Chart Gallery Line / Area Line Plots Filled Line Plots Step Line Plots Line Plots With Markers Line Plots With Inverted Y-axis Line Plots With Values Bar Standard Bar plots Horizontal Bar plots Adding backgrounds and patterns to bar plots Combined Line and Bar plots Pie
PHP PSD Reader A few weeks ago, I wrote an article about this PHP which allow you to display any Adobe PSD file on screen. Very usefull to create preview of PSDs designed for clients, for example.Download Browser detect One of the most common (and boring) problem for front-end developers is definitely cross-browser compatibility. This PHP class will detect almost all browsers and simplify your cross-browser work.Download
phpFormGenerator v3.0 beta - create professional web forms in minutes
Jijawi (Jijawi Is Just Another Web Installer) is an easy way to distribute your PHP web application to your users. It comes with a complete modular structure, which allows you to modify the installer as much as you want with the least possible effort. Jijawi supplies you with a System-Check and a MySQL module by default, so you can get the most common installer running in a few minutes. The goal of the installer is to simplify the installation process for the user as much as possible. Thus, the user just gets a single install.php file from you, with a size around 50kb. Jijawi: The PHP Web Installer - Jijawi
Whether you need to copy a test table to a production database, or you need to duplicate a table with only some selected rows or you just need to backup the original table, copying tables is a frequent task most of us regularly do. In this post we will see some quick methods to make copies of MySQL database tables. For these examples I’ve used the following table structure. Quickly copying tables. Copying tables in MySQL
php version 5.3.3 version for 5.0.4 (as at 26/09/2005) Hide Dumps/Include Dumps Accessing Array Key/Values
Quick and Dirty PHP Caching Advertisement Caching your database-driven website pages has a plethora of benefits, not the least of which being improved speed and reduced server loads. This article will explain how to set up a simple caching system, and will also address when and where caching might not be appropriate. For me, the impetus to switch to a caching method for one of my database driven sites was sparked by Mosso, since they bill by cpu cycle, and I have one site that is, well, humongous (60k+ pages), and it happens to the highest traffic site on the account. While the database queries were all very efficient, and each page had, on average, no more than 6 queries, performance and cpu cycles would both be helped quite a lot by implementing a cache. This caching solution was a temporary fix, while we switched to a new CMS that was already using a robust caching system.
winbinder resources: home
PDF Generation with Zend Framework | LiveDocx in PHP - Zend_Service_LiveDocx
Miles Johnson // Blog: 5 custom PHP functions: Strings
Bits of PHP code - Google Chart API for PHP