Image via Wikipedia
Defeating Cross-Site Scripting
On PHPBuilder.com today there's a new tutorial from Jason Gilmore about using the SPL with different data types to more effectively work with them more effectively.One great way to incorporate more OOP into your applications is through the Standard PHP Library (SPL), a powerful yet largely unknown extension made part of the official PHP language with the PHP 5.0 release. [...] In this tutorial I'll introduce you to several of my favorite SPL iterators, providing you with the basis from which you can...
Chad Lung has posted an introduction to PDO, PHP Data Objects, in a simple PHP script:PHP PDO (PHP Data Objects) ship with PHP 5.1 and above and is very easy to work with. Today I'm going to show you one way of performing CRUD actions on a MySQL database using PDO. Keep in mind what I'll show you is only one way of doing things and just a fraction of what PDO can do.He shows how to connect it to your MySQL database (via the connect string) and, based on his sample "pdo-demo.users" table, use prepared...
The PHP development team would like to announce the immediate
availability of PHP 5.3.6. This release focuses on improving the
stability of the PHP 5.3.x branch with over 60 bug fixes, some of which
are security related.
Security Enhancements and Fixes in PHP 5.3.6:
Enforce security in the fastcgi protocol parsing with fpm SAPI.
Fixed bug #54247 (format-string vulnerability on Phar). (CVE-2011-1153)
Fixed bug #54193 (Integer overflow in shmop_read()). (CVE-2011-1092)
Fixed bug #54055 (buffer...
Everyone and their mother uses Git + GitHub combo these days. A lot of open-source projects accept patches using github's pull requests, becausea€¦ well, because it is the easiest way to review and accept patches.
But, novice Git users don't know how to do this optimally, and a€onaivea€¯ approach leads to complexities. Git is a distributed version control system, which means that everyone can a€ocommita€¯ to their copies of repositories. Syncing these commits with upstream is a bit more difficult and...
The Voices of the ElePHPant podcast has posted their latest episode today - an interview with Ivo Jansch of Egeniq, a mobile development company.Cal asks his traditional "three questions":
What's your background in programming and how did it lead you to PHP?
What insight do you have to share with other managers about hiring active PHP community members?
What advice to do you have community members looking to attract the attention of hiring managers?
You can either listen in-page, by downloading the mp3...
Here's what was popular in the PHP community one year ago today:Brandon Savage's Blog: Learning Zend Framework: A Case Study
Kovshenin.com: The Web Development Cycle Explained
Alan Sorkin's Blog: The Difference Between A Developer, A Programmer And A Computer Scientist
Joomla Community Site: Creating a Joomla Template From Scratch
P'unk Avenue Blog: Faster, PHP! Kill! Kill!
Chris Roane's Blog: 10 Things I Wish I Knew as a Web...
The PHP development team would like to announce the immediate availability of PHP 5.3.6. This release focuses on improving the stability of the PHP 5.3.x branch with over 60 bug fixes, some of which are security related.Security Enhancements and Fixes in PHP 5.3.6:Enforce security in the fastcgi protocol parsing with fpm SAPI.Fixed bug #54247 (format-string vulnerability on Phar). (CVE-2011-1153)Fixed bug #54193 (Integer overflow in shmop_read()). (CVE-2011-1092)Fixed bug #54055 (buffer overrun with high...
Hot on oracle.com is a snapshot of Netretail Holding B.V. profiling their use of PHP and Oracle technology such as Oracle RAC cluster database to become a leading online retailer across Central and Eastern Europe. We've also just refreshed our...
In a new post to the SearchCo.de blog Ben Boyter generated a listing of the most commonly used PHP functions/structures based on the contents of several of the major PHP projects from around the web.One thing that I considered some time ago was working out which are the most common functions in a language and adding this as an additional signal to ranking. I couldn't find anywhere else on the web with this question answered so I took my own approch. The method was to take a collection of large PHP...
On the SmashinGeeks.com site there's a recent post showing you how to make a simple request and get the number of retweets for a post using PHP and Tweetmeme/Backtype.Tweeting is what we do after publishing posts. To place some minimal text that jumps upon the Tweet on Twitter will be more great instead of using a tweet button. Its made possible to count the number of tweets using PHP only, however if you want to sizzle it up, then its your way.They include code examples of how to connect to each of the...
If you weren't able to make it to the Symfony Live Paris event, you're in luck - they've just posted the videos from the sessions presented in the main room of the conference (including keynotes).The 2011 edition of the Symfony Live conference in Paris was a blast. With 540 attendees, this was the biggest Symfony conference ever. [...] This year, we also had a video team in the main room which recorded all the sessions. So, thanks to Brainsonic, I'm really happy to announce to all the people who missed...
NetTuts.com has posted what they call the ACBs of Web Development, a list of technologies - one for each letter of the alphabet - that you as a web developer would do well to learn at least a little about.Web development can often be an utterly perplexing affair. Today, aimed at beginners, I'd like to introduce you to twenty six concepts or technologies, each mapping to a letter of the alphabet. Sounds wonky? It probably is!Technologies in their list include:
On his blog Sebastian Bergmann has a recent post about how he's visualizing PHPUnit's development and pushing that information into a video based on the history of the project.According to svn.php.net, I committed the first PHPUnit code to cvs.php.net on November 27th 2001 and the first release, PHPUnit 0.1, was made on December 1st 2001. [...] On December 26th 2009, I moved the development of PHPUnit from svn.phpunit.de to GitHub. I imported the history from Subversion into Git. As you can see in the...
SMTP or mail function E-mail sending class
Youtube Video Fetcher
Inter Error and Exception Handler
Proof Loaded Files
Secure Image Uploading and Resizing
I'll be speaking the next PHPBenelux meetup in Amersfoort about implementing WebDAV using PHP. Joshua Thijssen will also be doing a talk about MySQL optimization. The meetups are free, so if you have some time after work, drop by and say hi. You can sign up at the PHPBenelux site.
Shiflett has asked the question, why don't people blog anymore?
In this age of real-time streams and dead-simple status updates,
blogs often feel like the uncared-for step-child or a website;
indeed, many folks are trading their blogs for pages that simply
track their various lifestreams (tweets, facebook status, flickr
images, and more).
While this sort of thing is trendy and interesting, it also
According to svn.php.net, I committed the first PHPUnit code to cvs.php.net/ on November 27th 2001 and the first release, PHPUnit 0.1, was made on December 1st 2001.
I started using svn.phpunit.de for the development of PHPUnit on June 29th 2006. I did not import any history from CVS into Subversion.
On December 26th 2009, I moved the development of PHPUnit from svn.phpunit.de to GitHub. I imported the history from Subversion into Git. As you can see in the video, moving to GitHub lead to an increased...