PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 181 to 200 of 270

PHP Days in Manchester

PHP Days in Manchester
The PHP Consulting Company (thePHP.cc) is offering a two-day training course on developing and testing professional PHP code right after PHP Unconference Europe. PHP Days in Manchester will be held by Sebastian Bergmann, Arne Blankerts and Stefan Priebsch. The price for this training course includes admission to the PHP Unconference Europe which is the perfect preparation for attendees to get the most out of this unique PHP training event.Training details Duration: 2 days (February 21-22 2011) Cost: 600...

Share and Enjoy

Share and Enjoy
iaoShare and Enjoya is the motto of a certain division of the largely successful Sirius Cybernetics Corporation. I'm here to complain about it. Data is precious. It is expensive to produce, time consuming to fetch, and eventually discarded. It makes sense to share it and save all the hassle that goes into herding it out of the remote servers it lives in. There can be, however, too much of a good thing. In short, sharing is awesome, but you should care where you put your data. API rage The best kind of...

Managing LAMP

Managing LAMP
One of the things that initially attracted me to PHP was that I could write all of my apps in pure PHP, and they would run anywhere I deployed them. Yeah, right. I was young and dumb back then, and I've learned a lot in the meantime. One of the things that I've learned is that your environment is incredibly important. A misconfigured setting is probably the biggest reason that code deployments fail. It's so important that it's almost universally recognized that if your code has any complexity, you need a...

Speaking at Symfony Live 2011

Speaking at Symfony Live 2011
I am very happy to announce that I will be speaking at both of next year's editions of Symfony Live. In February I will be travelling to San Francisco for the American edition of Symfony Live, and in March I will be present at the European edition of Symfony Live in Paris. At both conferences I will be giving the same talk: Don't use a screw when you need a nail.

Community News: Ibuildings announces Dutch PHP Conference 2011

Community News: Ibuildings announces Dutch PHP Conference 2011
The Ibuildings techPortal has officially announced next year's Dutch PHP Conference happening in May - 19th through 21st.It's that time of year again! For the fifth year in a row, Ibuildings is organising the Dutch PHP Conference, and the new website is back online at http://www.phpconference.nl. The event will be held in Amsterdam from 19th to 21st May 2011. Thursday 19th is tutorial day, and Friday 20th and Saturday 21st are the main conference days. Mark those days in your calendar!The post also talks...

The community mourns the passing of Richard "Cyberlot" Thomas

The community mourns the passing of Richard "Cyberlot" Thomas
Today, the PHP community mourns the passing of a friend. Three weeks ago Richard Thomas, community member and friend to all who knew him passed away.

On The Passing Of Richard aoCyberlota Thomas

On The Passing Of Richard aoCyberlota Thomas
Jeff Moore makes a very nice post here about Richard's passing. He is survived by his wife and daughter, among others. Please consider donating to their assistance fund. I was first acquainted with Cyberlot by email and blog posts, and met him in person more than once at various conferences. He was always kind and [...]

PHP.net: PHP versions 5.2.15 and 5.3.4 Released!

PHP.net: PHP versions 5.2.15 and 5.3.4 Released!
Yesterday saw the release of the two latest versions of PHP in both the 5.2.x and 5.3.x series - 5.2.15 and 5.3.4. Here's a bit from each release announcement.For 5.2.15:The PHP development team would like to announce the immediate availability of PHP 5.2.15. This release marks the end of support for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3. This release focuses on improving the security and stability of the PHP 5.2.x branch with a small number, of predominately security...

Richard Thomas

Richard Thomas
I've received some sad news. AThree weeks ago, A colleague ofAmine, Richard Thomas, passed away of a heart attack. AThose in the PHP community may have known him by his cyberlot handle or by his phpjack web site. I worked with Richard for a year and a half. ARichard liked solving problems and was always quick to offer solutions when help was needed. AHe was an enthusiastic programmer with good attitude. He was well liked. Richard enjoyed attending PHP conferences. ARichard was active on the Solar...

Brian Swan's Blog: How to Change Database Settings with the PDO_SQLSRV Driver

Brian Swan's Blog: How to Change Database Settings with the PDO_SQLSRV Driver
Brian Swan has a new post to his blog about how you can change the database settings in your SQL Server database (with a connection using the PDO_SQLSRV driver) through a SQL query.The short story is this: If you are using the PDO_SQLSRV driver and you want to execute a query that changes a database setting (e.g. SET NOCOUNT ON), use the PDO::query method with the PDO::SQLSRV_ATTR_DIRECT_QUERY attribute. If you use PDO::query without that attribute, the database setting you expected to change may not be...

Lorna Mitchell's Blog: Declaring Static Methods in PHP

Lorna Mitchell's Blog: Declaring Static Methods in PHP
Lorna Mitchell has a new post to her blog today talking about static methods and how to use them correctly in your code (as discovered accidentally in her own code).I was confused recently to realise that I had accidentally called a static method in PHP dynamically from another part of my code; I expected PHP to output warnings when this is done. On closer inspection I discovered that: static functions can be called dynamically and dynamic functions generate an E_STRICT error if called statically.She...

Site News: Popular Posts for the Week of 12.10.2010

Site News: Popular Posts for the Week of 12.10.2010
Popular posts from PHPDeveloper.org for the past week:CodeIgniter.com: CodeIgniter in 2011: Reactor, Core, & UserVoice Richard Smaizys' Blog: Improve your code style with simple tips Joshua Thijssen's Blog: Top-5 certifications for every PHP programmer PHP North West: PHPNW10: Harrie Verveer: Database version control without pain Label Media Blog: Test Driven Development with PHPUnit Phil Sturgeon's Blog: EllisLab react with CodeIgniter Reactor LearnComputer.com: PHP Interview Questions and Tips Johannes...

An RSS feed for private Google Groups for Google Apps

An RSS feed for private Google Groups for Google Apps
Since we moved our mails and calendars to Google Apps a few weeks ago, we're also starting to use the Google Groups feature more. It's great that we can use it for our internal mailinglists and everyone can set new ones up easily. But those private Google Groups have one big disadvantage, they don't provide an RSS feed like the public ones (eg. for webtuesday-announce). Actually they are provided, so if you go to something like https://groups.google.com/a/example.org/group/somelist/feeds, you see all...

Declaring Static Methods in PHP

Declaring Static Methods in PHP
I was confused recently to realise that I had accidentally called a static method in PHP dynamically from another part of my code; I expected PHP to output warnings when this is done. On closer inspection I discovered that:Static functions can be called dynamicallyDynamic functions generate an E_STRICT error if called statically This made a lot more sense when I thought about it a bit more and wrote some toy code:class MyClassA A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A...

PHP Manager 1.1 available in Web PI

PHP Manager 1.1 available in Web PI
PHP Manager 1.1 for IIS 7 has been released today. This is an incremental release that contains all the functionality available in PHP Manager 1.0 for IIS 7 plus additional features listed below: Improved detection logic for existing PHP installations. Now PHP Manager detects the location to php.ini file in accordance to the PHP specifications. Configuring date.timezone. PHP Manager can automatically set the date.timezone directive which is required to be set starting from PHP 5.3. Ability to add new...

Everyone Loves PHP

Everyone Loves PHP
A year ago today, I started at Facebook. I've been using PHP for the last twelve years, and before I got there, I thought I had seen most PHP-related problems. I had deployed software on all manners of systems, but since I've worked at Facebook, my appreciation for how important PHP is has changed. Earlier this year, another implementation of the PHP runtime emerged. This is nothing really new, as over the last few years, there had been several othersa-aQuercus, Project Zero, Roadsend, and phc, to name...

PHP OCI8 1.4.5 is on PECL

PHP OCI8 1.4.5 is on PECL
I just released OCI8 1.4.5 on PECL. It is the same code base included in PHP 5.3.4. It can be used to upgrade OCI8 on older PHP releases. OCI8 1.4.5 has one change since OCI8 1.4.4 made as part...

PHP 5.3.4 Released!

PHP 5.3.4 Released!
The PHP development team is proud to announce the immediate release of PHP 5.3.4. This is a maintenance release in the 5.3 series, which includes a large number of bug fixes. Security Enhancements and Fixes in PHP 5.3.4: Fixed crash in zip extract method (possible CWE-170). Paths with NULL in them (foo\0bar.txt) are now considered as invalid (CVE-2006-7243). Fixed a possible double free in imap extension (Identified by Mateusz Kocielski). (CVE-2010-4150). Fixed NULL pointer dereference...

Court Ewing's Blog: A Simple Alternative to Global Registry Dependency

Court Ewing's Blog: A Simple Alternative to Global Registry Dependency
Court Ewing has written up a post looking at an alternative to a commonly used bad design pattern - the global registry dependency - a method that uses a singleton to control access to a class-wide instance of an object.This gives you flexibility when configuring and setting your adapter, and it allows you to instantiate a new service without having to explicitly set commonly used dependencies, but you are ultimately just replacing one hardcoded object call with another. This means you are still limited...

PHPBuilder.com: Create a PHP-based Twitter Client with the PEAR Services_Twitter Package

PHPBuilder.com: Create a PHP-based Twitter Client with the PEAR Services_Twitter Package
On PHPBuilder.com there's a new tutorial from Jason Gilmore about how to create a PHP-based witter client with the help of the Services_Twitter package from the PEAR repository.Entirely reinventing the wheel seems foolhardy, and so I wanted to base the project on a solid foundation, including a quality PHP-based Twitter library. That library turned out to be PEAR's Services_Twitter package. In this article I'll introduce you to this powerful package, which although still in beta already offers all of the...