14 Sep 2005 tevaum   » (Journeyer)

PHP and I: together again

Well... I was needing a simple mailing list manager in PHP for one of our sites... and I found something at Sourceforge called Postlister. It's not really a mailing list manager, but then I realised that we didn't need one at all... :] It served our purpose, which was sending messages to a group of people. It does this by using a web interface instead of sending a mail to the list.

The first thing I noted was that it just didn't work! I configured an username and password, but it just didn't stop asking me to login. Even in the subscribe and confirm pages. When I looked into the code, I found the problem. He was considering the server, post and get variables the old way (register_globals=on). After all the hard work of setting things like $PHP_SELF to $_SERVER['PHP_SELF'], it worked quite well... and I really liked it... There are some missing features, like saving the list messages in an archive, but I want to do it soon... I have just sent a message to the project administrator and I'm waiting for a reply...

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!