Getters and Setters in PHP?

This is the question I’ve been pondering this week. In older versions of PHP other than to keep code neat there was no real need for this functionality, but with PHP 5 you can declare access properties for variables and functions in classes.  In other OO languages, such as C# we’ve been used to it…

Read More

.NET installers

It’s always been one of the most important, yet often overlooked part of a Windows application, the installation process. I started off in Visual Studio using the default setup process project and for the most part it worked absolutely fine. In VS2005 I’d build my project, I’d create a setup.exe wrapper around my MSI, then…

Read More

Pirate Bay founders genius idea

Found via Dizzy The Pirate Bay founders have come up with an genius idea to get their 30million SEK fine paid, which they’ve said they won’t pay. The plan involves all internet users to pay a small, tiny amount to the law firm that prosecuted them and represnted the music industry..  Basically everyone sends an…

Read More

MPs fleecing us for all we have

So not only are they content with taxing us to the hilt, now they’ve decided that we should pay for everything they need to buy, including all their food! Read this in the Telegraph, and we can see In response to this newspaper’s disclosures about the routine abuse by MPs of their second home allowance,…

Read More

A guide to MP’s expenses

So the Telegraph has got hold of MPs expenses before they officially published, stand by for some embarrassing back downs or corrections. Guido has a great explanation of the phrases we’ll hear over the next few days. I’ve republished here “It has since been corrected” - I knew it was going to come out and it…

Read More

8 bit characters in Active Directory

Once again, after discovering very little information from Microsoft about Active Directory over LDAP I was posed with a question on the adLDAP forums https://sourceforge.net/forum/?group_id=104193 And that was how to handle accented characters over LDAP. Running a standard ldap_modify() will cause a ‘Constraint violation’ error from the domain controller. I finally discovered, after reading the…

Read More