Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.
Sorry about that - tried with my localhost, worked fine apparently (although not on my FTP and it works there fine with other URLs), but look carefully :
the value displayed by the file_get_contents to the right of "Nombre de jours" is different from the actual value when doing the direct http request (i.e. just browsing to the page). And every time I run my code, the value retrieved is different - how can that be ?