Entries in the ‘Development’ Category:

make test every PHP version and send feedback

Since David Coallier’s talk during PHPBenelux, I realized the importance of running make test on all PHP releases and send feedback to PHP. It is so easy, that I will run it from now on every time a new release is announced. If you’re running on Mac, you might want to install Xcode, so you can [...]

Tags: , , , ,

Leave a Comment

SOAP-ERROR: Parsing WSDL

If you’re writing or consuming webservices with PHP SOAP, it’s possible you run into the SOAP-ERROR: Parsing WSDL problem once. The complete error string is: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘http://host/service?wsdl’ : <specific error> If you copy and paste the url (including the ?wsdl parameter) in the browser and you see the WSDL file, [...]

Tags: , , , , , ,

Leave a Comment

Keeping track of your config files

I know and use Subversion properties (and the keyword substitution) for quite a while now, but never used all of them and mostly stayed with the Id keyword. This results in a substituted string like this: Because my colleague Arno and myself do a lot of server maintenance and configuration, we ended up maintaining a [...]

Tags: , , , , ,

Leave a Comment

Custom URL’s in Zend Framework

I am searching for a url solution in Zend Framework for quite a while now, and I hope the solution I came up with helps other people trying to do the same thing. More important, I hope more experienced (Zend Framework) developers can point out problems or suggest better solutions for this problem. The CMS [...]

Tags: , , , ,

Comments (5)

3 years ago in Cambridge

It has been around three years now, since I started my internship at Studio 24. Studio 24 is a Cambrigde (UK) based web agency with over 10 years of expierence, happy to share their knowledge with students willing to learn. In the last year of my training MCT at Howest (University College West Flanders), I [...]

Tags: , , , , , , , ,

Leave a Comment

Deleting Subversion repository files (for real)

Keeping files and directories in the repository is one of the key principles of Subversion, so once you’ve committed something, it’s there for ever. You can delete files, but they still exist somewhere in the repository, so you can go back in time. But there is always that time where you’ve (accidentally) committed a password [...]

Tags: , , , , , , ,

Comments (1)

Hostnames in Logwatch reports

Where I work, we have a lot of servers to maintain, and only 2 server admins (me and my colleague). We use Nagios to keep us informed about the server status and Logwatch to analyze to server logs on a daily basis. We have per server a lot of subdomains/vhosts and these virtual hosts all [...]

Tags: , , , , , , ,

Comments (5)

Random PHP function explained

A few weeks ago, Jamie Bicknell notified me he read my article about the Random PHP function. Because I didn’t publish any code, he wrote a 3 line implementation of how he would fetch the functions for the randomness. I promised him I would publish the code that weekend, and here we are, a few [...]

Tags: , , , , , , , , ,

Leave a Comment

phpBenelux

As you can see in my Blogroll panel, on my homepage, profile and LinkedIn, I’m a proud member of phpBenelux. Tuesday there was another meeting, this time in the offices of Netlog, with talks from Ivo Jansch about “PHP and the Cloud” and Felix De Vliegher about “High gear PHP with Gearman”. Because it took [...]

Tags: , , , , , ,

Leave a Comment

php msort() – multidimensional array sort

There have been several moments where I had a rowset from a database as a PHP array, and I had to sort it based on some columns. $tickets = array(    array(        ’id’ => 13,        ’owner’ => ’jachim’,        ’time’ => ’2009-09-25 10:39:42.011612′,        ’project’ => ’jachim.be’,        ’title’ => ’Some random ticket’    ),    array(        ’id’ => 31,        ’owner’ => ’jachim’,        ’time’ => ’2009-09-24 14:38:47.945020′,        ’project’ => ’joggink.be’,        ’title’ => ’Some other random ticket’    ),    array(        ’id’ => 22,        ’owner’ => ’root’,        ’time’ => ’2009-09-24 10:58:02.904198′,        ’project’ => ’joggink.be’,        ’title’ => ’A specific ticket’    )); I searched for functions for a while, and even try to understand/use the array_multisort function, but I never managed to get something working on a simple array [...]

Tags: , , , ,

Comments (6)