Due to unfortunate issues with 5.3.7 (see bug#55439) users should wait with upgrading until 5.3.8 will be released (expected in few days).
On the Working Software blog there's a new post showing a solution to a issue with escaping quotes in XPath queries that's not just an issue in PHP.I've been working with the Basecamp API to plugin our IRC bot that we use for time tracking and I'm astounded to learn that escaping single and/or double quotes for XPath queries in PHP does not have a well documented, best practices solution. In fact, it seems as though this is not peculiar to PHP. I took a look around and found this excellent article by...
As is mentioned on PHP.net, the latest release of the 5.3.x series of the language has been released - PHP 5.3.7.The PHP development team would like to announce the immediate availability of PHP 5.3.7. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.Security fixes in this release include updates to crypt_blowfish() and a buffer overflow in crypt(). Enhancements include the fixes for several bugs including ones related to...
On NetTuts.com today there's a new screencast posted showing you how to create an Alfred extension with PHP (OS X only, obviously). Alfred is "a productivity application for Mac OS X, which aims to save you time in searching your local computer and the web. Whether it's maps, Amazon, eBay, Wikipedia, you can feed your web addiction quicker than ever before".The tutorial walks you through the process of creating the extension (requires v0.99). His example extension is a shell script that pulls contents...
Giorgio Sironi has a new post on DZone.com today with a look at what he calls "object calisthenics", a sort of "workout exercise for you to do to flex your object-oriented programming skills.Calisthenics is a Greek-derived term for exercises, in the gym sense. I have object calisthenics, exercises for object-oriented programming, around for a long time and saw them as fascinating, but never got the time to try.The challenge he lays out includes rules relating to indentation levels (really complexity...
On the PHPClasses.org blog there's a new post that tries to right some wrongs about how people think about PHP. Maunel Lemos looks at some of the misconceptions people have about the language and the truth behind them.PHP is often a misunderstood language by people that either love or hate it. [...] This article attempts to clarify some of the most common wrong ideas that many developers have about PHP. Read the article to the end, so you may eventually start having a better perspective about PHP and...
Robert Basic has posted a quick hint for Netbeans users on how they can debug two (interlinked) projects at the same time in the same debugger instance.I'm currently working on some Symfony2 bundles and I have one Netbeans project for the main Symfony2 app and one project for the bundle. [...] The debugger starts for the "main" project, which is the Symfony2 app, but setting breakpoints with Netbeans (y'know, by clicking the line number) for the bundle doesn't really work, as those are in the other...
Popular posts from PHPDeveloper.org for the past week:StackOverflow.com: The Definitive Guide To Forms based Website Authentication
Hyperpolyglot.org: Syntax for Common Tasks - Side-by-side (Ruby, Perl, Python & PHP)
DZone.com: Hardening PHP: SQL injection - Complete walkthrough
Factor3 Blog: Web Frameworks
Rafael Dohms' Blog: Filtering objects using annotations
Ldeveloper Tech Blog: PHP - Fatal error: Uncaught SoapFault exception: Could not connect to host...
Stuart Herbert's Blog: PHP Components:...
The Zend PHP Conference (ZendCon) is the largest gathering of the PHP Community and brings together PHP developers and IT managers from around the world to discuss PHP best practices and explore new technologies.
This year's conference will be held on October 17-20, 2011 at the Convention Center in Santa Clara, California. The conference will include a variety of technical sessions and in-depth tutorials in the following areas:
Cloud Computing - build applications, not infrastructure.Learn about...
Leonid Mamchenkov has a quick new post to his blog sharing a regular expression that can be used to check that a string contains only English or Latin characters (no Unicode allowed).Today at work I came across a task which turned out to be much easier and simpler than I originally thought it would. We have have a site with some user registration forms. The site is translated into a number of languages, but due to the regulatory procedures, we have to force users to input their registration details in...
On Greepit.com there's a new post spotlighting a single handy library you can use in your PHP application to make authenticating with many of the popular social network providers simple - HybridAuth.HybridAuth is an open source web-based authentication and authorisation solution that combines the strengths of several major social networks and Identity Providers services into one simple PHP Library. [...] This PHP Library for social services authentication supports many social platforms including...
Kristina Chodorow has posted a four part series of articles to her blog that shares some of her experiences in developing an extension for PHP (on C/C++). It walks you through the entire process - from the basic "hello world" out to working with more complex data structures.A PHP extension allows you to connect almost any C/C++ code you want to PHP. This is a 4-part tutorial on how to write an extension. [...] Almost all of the code examples in this tutorial are available on Github.The parts of the...
New on PHPBuilder.com today is a tutorial showing you how to use set up and tear down methods in PHPUnit unit tests to work with a Doctrine 2 database, making it simpler to run self-contained testing.The recently released Doctrine 2 presents significant advantages over its 1.X predecessor, advantages which are even more pronounced when compared to the Zend Framework's default database solution, namely the Zend_Db component. [...] When running unit tests which vet various aspects of your database you'll...
The PHP development team would like to announce the immediate
availability of PHP 5.3.7. This release focuses on improving the
stability of the PHP 5.3.x branch with over 90 bug fixes, some of which
are security related.
Security Enhancements and Fixes in PHP 5.3.7:
Updated crypt_blowfish to 1.2. (CVE-2011-2483)
Fixed crash in error_log(). Reported by Mateusz Kocielski
Fixed buffer overflow on overlog salt in crypt().
Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload...
James Fuller has a new post to his blog today showing how to use flash messaging in the Lithium PHP framework.In my case, I needed to display to the user a "flash message" after redirecting them to another page. CakePHP has this as part of the framework by default but Lithium will ask you to do a bit more work. Luckily, Lithium framework lead developer Nate Abele has created a handy extension to the Lithium session helper will will give us exactly what we need.For those not familiar with what a "flash...
Just a quick post to mention the excellent work by Norman Hippert aka @thewildcat, he successfully converted my Javascript based CSSReg into PHP. I was meaning to do this but never found the time so it's pretty awesome that not only did thewildcat convert the code but found some nice bugs in my code and fixed them. Great work Norman thanks very much!
PHP CSSReg demo
PHP CSSReg source code *
* Note image proxying is missing, you must either use a image proxy or read the image files using a php script to...
Top 10 Wrong Ideas About PHP That You Should Get Right
By Manuel Lemos
PHP is often a misunderstood language by people that either love or hate it.
On one side there are developers that hate PHP apparently because they do not quite understand how it works. They do not respect PHP and prefer other languages. So they loose many opportunities to make good money from the PHP market, which has so many high paying jobs for qualified developers.
On the other side there are developers that love PHP but do not...
Here's what was popular in the PHP community one year ago today:Pique Web Podcast: Pique Web Episode 3 - Sessions, accounts, and the PHP Anthem
SitePoint PHP Blog: How to Upload Large Files in PHP
Michael Babker's Blog: The Death of Joomla! - Negative Attitudes & Closed Minded Leadership
Pablo Viquez's Blog: MySQL Profiling and Zend Framework
Richard Thomas' Blog: Solar Framework Shorts - Controlling form layout
Kevin Schroder's Blog: You want to do WHAT with PHP?
Facebook Engineering Blog: HipHop for...
You may have seen my earlier post about NoFlo, the flow-based programming tool I've written for Node.js. It allows you to do quite cool stuff, like a visually controlled web server:
Yesterday Igor Wiedler published Evenement, a PHP port of the EventEmitter class from Node.js. As NoFlo builds quite heavily on EventEmitter, I decided to see how far the PHP port could be taken.As result, there is now PhpFlo, a flow-based programming environment for PHP.Example of how to define and run a flow (you can also...
The PHP development team would like to announce the immediate availability of PHP 5.3.7. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.Security Enhancements and Fixes in PHP 5.3.7:Updated crypt_blowfish to 1.2. (CVE-2011-2483)Fixed crash in error_log(). Reported by Mateusz KocielskiFixed buffer overflow on overlog salt in crypt().Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload filename)....
|
Latest PHP Tweets
|