PROJET AUTOBLOG


BohwaZ

Site original : BohwaZ

⇐ retour index

Mise à jour

Mise à jour de la base de données, veuillez patienter...

VroumVroumBlog 0.2.11 et nouveau site

jeudi 3 janvier 2013 à 18:46

Pour fêter la sortie de VroumVroumBlog 0.2.11 qui corrige une faille de sécurité dans la libxml, voici le nouveau site de VVB : http://dev.kd2.org/autoblog/.

Un an en australie !

vendredi 26 octobre 2012 à 04:31

Dans maintenant moins de deux semaines je retournerais en Australie, cette fois-ci pour une période d'un an.

Comme lors de mon précédent voyage, vous pourrez suivre mes aventures sur mon journal de voyage en ligne : Oz. Un an en Australie (et plus si affinités).

Ce blog sera donc un peu délaissé mais je continuerais à y poster quelques actus quand cela sera justifié.

Fotoo Hosting upgrade: now with HTML5 client-side resize

jeudi 4 octobre 2012 à 02:04

I already told you about my little Fotoo Hosting project but now it's time to make the announcement of the first revamp of this software.

So this new 2.0.0 version has a new design, an easier admin-mode (just click on login), and a big improvement on picture upload as I got rid of the Flash applet which was used to resize picture before upload, so your bandwidth stays low. Now there is a HTML5 (Javascript + Canvas) client-side resize before upload, it works better than the Flash applet, and it's easier to use.

And another big news is that you can now upload a complete album of multiple pictures at one time, all the pictures will get listed under the same page.

So what are you waiting for?

Lightweight PHP SMTP library

mercredi 26 septembre 2012 à 08:25

As always, I like to keep things simple and light in my code so one day I was looking for a PHP library able to send mails directly via SMTP. I still find it amazing that PHP doesn't have this feature in its standard package but hey why not. So I looked and I found some libraries from bigger frameworks like PEAR and Zend. They are good, but the PEAR Mail package depends on Net_SMTP, which depends on Socket, which depends on... You get the idea.

I like things that interact directly with standard PHP features, things that don't make a new interface for everything. For example PHP has a fairly good socket API so why bother adding an abstraction layer here?

So in a couple of hours, including some RFC reading (did you know that you can include comments in email addresses, like for example bohwaz@(oh that seems nice ! (but not as nice as emails addresses like "oh, look !"@example.tld))other.example.tld, what a nightmare that would be to parse with a regexp¹), and here it is: just a light and simple PHP SMTP library: lib.smtp.php

It's licensed under the LGPL and it can handle SSL, TLS, and SMTP-AUTH. It only sends text/plain emails in UTF-8 but <troll>who cares about HTML emails anyway?</troll>

¹ Even if I'm really supportive of the fight Stéphane Bortzmeyer is leading against the badly written email validation checks, I have to admit that it's sometimes tricky to do things right. Like here I had to extract multiple addresses from one string, and it's not easy if you don't want to use a very big and slow regexp.

Chalon dans la rue

mardi 24 juillet 2012 à 16:01
Alien N°1
Album photo complet