PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3361 to 3380 of 6889

Tutorialzine.com: Building a Website with PHP, MySQL and jQuery Mobile, Part 1

Tutorialzine.com: Building a Website with PHP, MySQL and jQuery Mobile, Part 1
From Tutorialzine.com today, they've posted the first part of a series looking at the construction of a full mobile website using PHP, MySQL and jQuery mobile.In this two-part tutorial, we will be building a simple website with PHP and MySQL, using the Model-View-Controller (MVC) pattern. Finally, with the help of the jQuery Mobile framework, we will turn it into a touch-friendly mobile website, that works on any device and screen size. In this first part, we concentrate on the backend, discussing the...

ServerGrove Blog: How to setup multiple PHP versions on Apache

ServerGrove Blog: How to setup multiple PHP versions on Apache
On the ServerGrove blog today there's a new post from Ishmael about setting up multiple versions of PHP on one Apache instance with the help of FastCGI.There are several reasons you might need to run multiple versions of PHP on the same server. Maybe you have a PHP 5.2 application running on your server and you need to start working on another application based on a new framework like Symfony2 or Lithium? Perhaps you haver a client with a legacy site that runs PHP 5.2, or maybe you simply want to test...

PHP.net: PHP 5.3.8 Released!

PHP.net: PHP 5.3.8 Released!
On PHP.net they've posted the official announcement about the release of PHP 5.3.8, an release following 5.3.7 to fix some issues with the crypt functionality.The PHP development team would like to announce the immediate availability of PHP 5.3.8. This release fixes two issues introduced in the PHP 5.3.7 release: Fixed bug #55439 (crypt() returns only the salt for MD5), reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283). All PHP...

Gareth Heyes' Blog: PHP CSSReg

Gareth Heyes' Blog: PHP CSSReg
Gareth Heyes has a recent post pointing out the port of a project of his, CSSReg (a filtering tool for user-provided stylesheets) over to PHP.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!You can see a...

PHP 5.3.8 Released!

PHP 5.3.8 Released!
The PHP development team would like to announce the immediate availability of PHP 5.3.8. This release fixes two issues introduced in the PHP 5.3.7 release: Fixed bug #55439 (crypt() returns only the salt for MD5) Reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283). All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8. For a full list of...

Gonzalo Ayuso's Blog: Building a small microframework with PHP

Gonzalo Ayuso's Blog: Building a small microframework with PHP
In investigating microframeworks and some of the offerings out there Gonzalo Ayuso has done a little exploring of his own. He's worked up a basic microframework and shared it in a new post as a sort of academic exercise.Nowadays microframewors are very popular. Since Blake Mizerany created Sinatra (Ruby), we have a lot of Sinatra clones in PHP world. Probably the most famous (and a really good one) is Silex. But we also have several ones, such as Limonade, GluePHP and Slim. Those frameworks are...

Announcing the August 2011 Zend Framework Bug-Hunt

Announcing the August 2011 Zend Framework Bug-Hunt
For those who haven't put the recurring event in their calendar, the Zend Framework Monthly Bug-hunt is here again! This Thursday, Friday and Saturday (the 25th, 26th and 27th of August), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework.

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 2

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 2
Michelangelo van Dam has posted the second part of his look at PHPUnit in his "Quality Assurance in PHP Projects" blog post series. This is a continuation from part one.I hope everyone enjoyed my first article on unit testing with phpunit where I started writing a few tests that would guide us building our little game of tictactoe. Today I'm going start with turning these tests into working code and adjusting our tests to have a clear separation of responsibility. Since we already know what the code...

Community News: Latest PECL Releases for 08.23.2011

Community News: Latest PECL Releases for 08.23.2011
Latest PECL Releases: Weakref 0.0.1 Weakref 0.1.0 oci8 1.4.6

Quality Assurance on PHP projects - PHPUnit part 2

Quality Assurance on PHP projects - PHPUnit part 2
A A AI hope everyone enjoyed my first article on unit testing with phpunit where I started writing a few tests that would guide us building our little game of tictactoe. Today I'm going start with turning these tests into working code and adjusting our tests to have a clear separation of responsibility. Since we already know what the code should produce, we only have to work out the details.Our tests tell us we have four classes:Tictactoe: the main class that is responsible for the game and how it should...

PHP 5.3.8 Released!

PHP 5.3.8 Released!
The PHP development team would like to announce the immediate availability of PHP 5.3.8. This release fixes two issues introduced in the PHP 5.3.7 release:Fixed bug #55439 (crypt() returns only the salt for MD5)Reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283).All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8.For a full list of changes in PHP...

Jason Gilmore's Blog: How I Learned to Stop Worrying and Love Zend_Form

Jason Gilmore's Blog: How I Learned to Stop Worrying and Love Zend_Form
On his blog today Jason Gilmore has a quick post about solving one of his frustrations with Zend_Form (a part of the Zend Framework) - the default form decorators.It is a fantastically productive framework, one which I happen to use almost every single day. There was however one feature which absolutely drove me crazy. The Zend_Form component's uses the dd, dl, and dt elements as the default form markup decorators, meaning that even a simple contact form consisting of name, email, and message fields and...

PHP.net: 5.3.7 upgrade warning

PHP.net: 5.3.7 upgrade warning
In a quick note from the PHP.net site, they have a warning for those running PHP 5.3.7 (the most recent release) - there's a bug that's serious enough (with crypt) to where upgrades should probably wait until 5.3.8.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).The issue causes the crypt() function to only return the (MD5-only) salt it was given instead of the correctly hashed string. If you need to replace this...

NetTuts.com: How to Use the Nettuts+ Phing Build Script

NetTuts.com: How to Use the Nettuts+ Phing Build Script
NetTuts.com has come up with a Phing (the automated build tool written in PHP) build script that designers can drop in as a part of their deployment process to compress, concatenate and Prefixize all of their stylesheets and scripts.We've created a build script for Phing that will give designers the ability to automatically compress, concatenate, and Prefixize all of their stylesheets and scripts - simply by typing five characters. I'll show you how to use it in this quick tip video.The post includes a...

CodeIgniter Blog: GitHub, Reactor, and v2.0.3

CodeIgniter Blog: GitHub, Reactor, and v2.0.3
The CodeIgniter blog has a a new update today with some changes that are happening in the project and it's community.If you are following CICON 2011 today, then you no doubt already heard from the Reactor team: CodeIgniter is now using Git for source control, and has moved its home to GitHub. Also, CodeIgniter "Core" is not longer being publicly maintained. CodeIgniter "Reactor" is CodeIgniter, so we are dropping that suffix. In short: CodeIgniter is the framework, and Reactor is our community driven...

DashExamples.com: Capture Content Security Policy (CSP) Violations in PHP

DashExamples.com: Capture Content Security Policy (CSP) Violations in PHP
From DashExamples.com there's a quick post on how you can set up your application to notify you on content security policy violations and store them back on he server side for later review.When somebody violates your CSP rules, there is a great feature that can setup for supporting browsers to send back the violations to your server to be saved, processed or whatever. This is a great feature because you can stop a possibly malicious piece of code from executing and learn which scripts may have...

Added Bytes Blog: If PHP Were British

Added Bytes Blog: If PHP Were British
On the Added Bytes blog there's a humorous post about what PHP would be like if it were British:When Rasmus Lerdorf first put PHP together, he - quite sensibly, despite his heritage - chose not to write it in Greenlandic or Danish. [...] He opted instead, being in Canada at the time, for the local tongue. No, not French - that bastard dialect of the Queen's English commonly referred to as "US English". PHP developers in Britain have been grumpy about this ever since. What was he thinking?Suggestions...

vfsStream 0.10.1 released

vfsStream 0.10.1 released
Today vfsStream 0.10.1 has been released, containing two bug fixes. The first was a problem with the vfsStream::create() functionality introduced with 0.10.0, where using numeric directories failed because of implicit type conversions (in PHP) and explicit type checks (in vfsStream). Thanks to Mathieu Kooiman for finding this issue and providing a patch. The other fix is a mix of a documentation and type hinting fix: now you can only use directories as root instance - before it was allowed to add files...

Community News: Latest PEAR Releases for 08.22.2011

Community News: Latest PEAR Releases for 08.22.2011
Latest PEAR Releases: Cache_Lite 1.7.12 Net_NNTP 1.5.0RC1

5.3.7 upgrade warning

5.3.7 upgrade warning
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).

Latest PHP Tweets