Archive for February 20th, 2007
PHP Developer - February 20th, 2007
In a new entry today, Tim Bromhead shares his method for creating “super friendly urls” for a site’s users using mod_rewrite:
Today we are going to show how to make the URLs with spaces super easy to type for users. bla.st uses dashes in the URLs to represent spaces eg. http//bla.st/web-design/. We chose dashes over underscores because underscores can get lost with underlined links, and we think they look nicer.
He includes the Apache config information for working with the VirtualHost entry and the simple PHP script to handle the requests. It looks in the SERVER superglobal, at the QUERY_STRING to see what the user is requesting and does an append and redirect accordingly. This example is made to take any form of a space in the URL (including underscores and %20), parse it out, and pass the user along correctly to the page they want.
Continue Reading ·
Dev Shed - February 20th, 2007
In the previous two articles we discussed how to read and build an RSS document with PHP. In this article we will create an application that uses the concepts discussed in the other two articles. So let s go straight to the coding….
Refurbished and Used Networking Equipment Network Liquidators sells refurbished and used networking equipment for up to 95% off list, with a 1 year warranty. We buy and sell top brands like Cisco, Extreme, Foundry, and more. Call us for best pricing.
Continue Reading ·
PHP Developer - February 20th, 2007
CakePHP users can find a quick hint from The Bakery today pointing out how to get ride of some of the warning messages when working with the framework in PHP4.
CakePHP - a great framework, but sometimes surprising to those who are used to programming with PHP 5. EclipsePHP spits out pages and pages of warnings when compiling towards a PHP 5 base, scaring new CakePHP converts.
The method involves performing a global search and replace on seven key strings to help them conform to the CakePHP standards. The warnings will “magically” disappear following.
Continue Reading ·
PHP Developer - February 20th, 2007
Edin Kadribasic has released the latest update for his Win32 builds in the PHP 4.4.x series - PHP 4.4.5-win32 with the MySQL 5.0.22 drivers.
There’s a direct download here which contains two files. Drop these top files into your current install folder and you should be good to go (it will overwrite one file and insert another).
Previous versions can be found as tagged on his blog.
Continue Reading ·
PHP Developer - February 20th, 2007
Sebastian Bergmann has quickly posted about a PHP-GTK testrunner that’s been created for PHPUnit:
Tobias Schlitt has announced the development of a PHP-GTK2-based test runner for PHPUnit. It will be part of the upcoming PHPUnit 3.2 release (roadmap). Screenshots are here.
Definitely a welcome addition to an already outstanding unit testing tool - great work Tobias! Check out his blog for more details on how to install the tool and get started testing your apps.
Continue Reading ·