WordPress News – PHP4 and MySQL4 R.I.P. Published on July 29, 2010
Our approach with WordPress has always been to make it run on common server configurations. We want users to have flexibility when choosing a host for their precious content. Because of this strategy, WordPress runs pretty much anywhere. Web hosting platforms, however, change over time, and we occasionally are able to reevaluate some of the requirements for running WordPress.
Now is one of those times. You probably guessed it from the title — we’re finally ready to announce the end of support for PHP 4 and MySQL 4!
Formatting print_r(); to be readable Published on May 26, 2010
User friendly array listings, by formatting print_r();
When you wish to see the contents of any PHP array, typically you use the print_r() function.
This will print all the array contents in a very messy text block, without any line-breaks whatsoever, wich is quite difficult to read and browse trough.
Wouldn’t it be so much nicer to show the array contents split by line, clean and easy to read and browse., to find what you’re looking after? This is what we will do in this post.
Acessibility: The back button. Published on January 21, 2010
Script and noscript tags. Case study 2 – The back button
A client once asked me to add a back button on the end of every post to get back to the corresponding category listings.
There’s nothing wrong here, it works pretty fine, except if you want to keep your site accessible…