Tag PHP_77

swfdec and amfphp

I was a bit too optimist on my last post about swfdec and firefox. It seems that amfphp (at least the browser) is not workig with that flash plugin. So I re-installed the flash-plugin of adobe. Tip : I had to install nspluginwrapper but both architecture 32 and 64 bits packages. Then I ran
mozilla-plugin-config -i -g -v

wascii add-on

Since the beginning of the week I'm using wascii from Dag Wieers, I'm very happy with it but something was really missing for a power daily use : a search function !

So yesterday night I wrote that search add-on using Zend Framework. It perfroms a fulltext search using Lucene.

This is a screenshot :

Bad day for PHP programming

Desperate PHP developer... that's what I am today... why ?

Due to an ugly PHP bug with PHP provided with FC6 (maybe on other distributions too). I already spent some time to find that it was a bug, previously I was using sqlite with the sqlite PHP functions, but since I use the FC6, to have the support of sqlite, PDO must be used... so I did !

Jabber and PHP

After a chat with a colleague trying to code in python because he wanted to implement some Jabber application I decided to search some PHP solution.

I've found class.jabber.php from Nathan Fritz.

It's very easy to implement and fun to play with, I've put a sample here.

Have fun with it ;-)

PHP : Objects and XML

Just some nice example to show how to create an XML output from an object. And also create an object from an XML source.

Do be able to run those example, you must install the PEAR packages called XML/Serializer.

First example, creation of the XML output: