Raskas asked me a question about the creation off a binary Perl script.
The goal of this was to run a Perl script on a machine where Perl is not installed.
perlcc should be our friend... but some dependencies were still giving troubles, so I tried to find another solution, here is a summary of my small research :
first, the Perl script's source (Copyright fred... but in GPL !) :
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 !
I use Eclipse as PHP IDE with several plugins.
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 ;-)
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
, creation of the XML output: