easy php stuff. Not 100% reliable though, I'm a noob !