php

TwitterFacebook
Get flash to fully experience Pearltrees

Le syndrome du (ou comment gérer l’encodage des caractères dans le web) | DoubleVroar

http://doublevroar.wordpress.com/2012/04/08/le-syndrome-du-%ef%bf%bd-ou-comment-gerer-lencodage-des-caracteres-dans-le-web/ L’encodage. Rien qu’à ce mot, nombre de développeurs transpirent, gémissent, se sentent mal. Qui n’est jamais tombé sur un enchaînement de sigles bizarres au beau milieu d’une phrase ? Qui ne s’est pas arraché les cheveux pour savoir en quel encodage il recevait ses données afin de pouvoir l’afficher correctement en sortie de son application ?

Nginx and PHP-FPM Configuration and Optimizing Tips and Tricks

http://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/#.UXp3x3av9l0.twitter <img src="http://media.if-not-true-then-false.com/2011/10/nginx-logo.png" alt="nginx-logo" title="nginx-logo" width="250" height="61" class="alignright size-full wp-image-4483"/> I wrote before a guide Howto install Nginx/PHP-FPM on Fedora 18/17, CentOS/RHEL 6.3/5.9 , but this guide is just installation guide and many cases Nginx and PHP-FPM basic configuration is good enough, but if you want to squeeze all the juice out of your VPS or web server / servers and do your maintenance work little bit easier, then this guide might be useful. These tips are based entirely on my own experience, so they may not be an absolute truth, and in some situations, a completely different configuration may work better. It’s also good to remember leave resources for another services also if you run example, MySQL, PostgreSQL, MongoDB, Mail server, Name server and/or SSH server on same machine.
PHP 5.4 is here; the next major step forward since version 5.3 – keeping PHP 6 (full Unicode support) on hold for now. The latest enhancements significantly improve its elegance, while removing deprecated functionality, resulting in a dramatic optimization of the runtime (up to 20% more speed and memory usage reduction). New Features and Improvements Some of the key new features include trait s, a shortened array syntax, a built-in webserver for testing purposes, use of $this in closures, class member access on instantiation, <?= is always available, and more! http://net.tutsplus.com/tutorials/php/php-5-4-is-here-what-you-must-know/

PHP 5.4 is Here! What You Must Know

PHP Frameworks comparison matrix (symfony vs cakephp vs zend framework vs CodeIgniter vs Yii) | SocialCompare's blog

http://blog.socialcompare.com/2010/04/04/php-frameworks-comparison-matrix-symfony-vs-cakephp-zend-framework-codeigniter-yii/ Collaborative comparison engine 4 Apr PHP Frameworks comparison matrix (symfony vs cakephp vs zend framework vs CodeIgniter vs Yii) 8 Comments Posted by : Vanina Category : Comparisons
I’m guessing that if you are reading this post you have already encountered the problem of the same origin policy with regards to retrieving data with AJAX from urls in other domains than your’s (the requesting domain). This policy, enforced by browsers, means you cannot fetch raw data from other domains with straight AJAX calls. The Problem I Was Trying To Solve (skip this paragraph if you just want the solution) Here’s the situation I ran into. http://www.fbloggs.com/2010/07/09/how-to-access-cross-domain-data-with-ajax-using-jsonp-jquery-and-php/

How to access cross-domain data with AJAX using JSONP, jQuery and PHP

Smarty 3 extension for Zend Framework / PHP open source snippets / Blog

Update 2010-10-30 Added support for partials using smarty view, clone of view was updated Removed dependency on config storage on bootstrap Note: This is an outdated version and it might not work with current application stack You can download full aplication sources here . Notice: that Zend library must be in your include path or /library directory. http://gediminasm.org/post/smarty-3-extension-for-zend-framework
http://fabien.potencier.org/article/34/templating-engines-in-php This blog post is not for the faint-hearted! Some people will strongly disagree with me and some others will probably want to kill me at the upcoming Zend Conference . And if starting an argument in the comments can help you feel better, please feel free to do so.

Templating Engines in PHP - Fabien Potencier

The Problem Safari does not allow cross-domain cookies. In other words, if on X.com, you load an iFrame with contents of Y.com and set a cookie in the iFrame, Safari will not save the cookie. This problem also occurs in IE6/7 but can be resolved by sending a P3P header. The Solution http://anantgarg.com/2010/02/18/cross-domain-cookies-in-safari/

Cross-domain cookies/sessions in Safari and all other browsers | anant garg

Introduction Cette astuce présente plusieurs fonction ou astuces en php qui sont différentes alors que beaucoup de monde croit qu'elles agissent de la même façon. Concaténation ou paramètres ? http://www.commentcamarche.net/faq/4479-php-les-ressemblances-a-ne-pas-confondre

[PHP] Les ressemblances à ne pas confondre