Feed von
Beiträge
Kommentare

Tag Archiv 'php'

unserialize values

Last week I had the problem, that – due to a wrong database-entry – a serialized value got scrambled. And due to that (and some missconfiguration of the server) the application broke. Instead of a search result the user simply got an error message about not being able to unserialize the value due to an [...]

Lese den ganzen Artikel »

Unit-Testing There has been much said about the advantages or disadvantages of unit-testing. So I will not recap on that. But where to go after you have choosen to use unit-testing? The following short tutorial will give you an ovberview of how to install the necessary software, how to come to unit-tests from your requirements [...]

Lese den ganzen Artikel »

Hyphenator has moved to github

Yesterday I used my time at the train to clean up some code and to adapt the build-system for Hyphenator. And now I finaly managed to move it to github. So the code as well as the distribution can now be found at github And the distribution can be downloaded here

Lese den ganzen Artikel »

fileinfo for PHP on Leopard

Currently I had to use the fileinfo-Package on my development-system which is a MacBook Pro running MacOS 10.5 with Marc Lianages PHP-Package. But sadly that does not contain the fileinfo-extension. No Problem I thought: Installing a PECL-Extension isn’t hard work. At least if it works…. Of course I ran into the problem that I couldn’t [...]

Lese den ganzen Artikel »

Hyphenate texts with PHP

Hyphenation is something not widely used on the internet. But sometimes it is something you need to do in Browser-based applications. Just think of a PDF-File created on the fly by an application and the text is hyphenated in very strange ways or not at all. All just because of an algorithm that might hyphenate [...]

Lese den ganzen Artikel »

« neuere Artikel - Ältere Artikel »