Tag Archives: php

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 english texts in one way or an other but certainly not german, french or other texts.

But it is possible with a bit of LaTeX (don’t worry, you need no kowledge of that whatsoever)
Continue reading Hyphenate texts with PHP

TV-Browser and Growl

Ever wanted to find an electronic TV-Guide?

Some time ago I found TV-Browser. Very nice Tool.

One fancy feature was the Growl-Integration on MacOS-X.  Well at least until TV-Browser 2.7. Somehow the integration of Growl was broken under MacOS X 10.4. 

The complete information about this can be found in the TV-Browser-Forum

Well at least until yesterday.

I implemented this Patch and – voila – Growl notification works as expected.

For those who do not want to go through the hassle of compiling the plugin themselves:

Here you can download the compiled plugin that works for me under MacOS-X 10.4.11

 

Use PHP4 and PHP5 on the same machine

 A long time ago I had to solve the problem of running PHP4 and PHP5 on the same machine.

After a bit of searching I came across a posting in the german PHP-Mailing-List at http://www.phpbar.de where Norbert Pfeiffer described a possible way.

I choose to adapt my apachectl-file so that not one single instance of the apache-webserver was started but 2 instances. One of which listened on port 80, the other one on port 81.

This of course requires a unique httpd.conf for each of the instances. 

Continue reading Use PHP4 and PHP5 on the same machine

Hello world!

So.

This is my first ‘real’ blog.

Let’s see, what it will bring.

I hope to find the time to write some stuff about the things I know. The chances are fair that it will include some words about PHP, Java, Gardening or Renovating our home.

Feel free to read and comment.