I am sure my code is correct, I think I have this problem on the server http://bugs.php.net/bug.php?id=40818
It looks like you're only adding a single period at the start there, which means "this directory". If you're still working on the initial problem, you're missing a period...