I wrote a little php login script. It searches in a mongoDb-collection for the provided credentials. If i run it from console with
php login.php
it runs flawless. However, if i try to log in from the html-interface it seems to be stuck at
$m = new Mongo(...);
directive, and doesn't continue with the other lines of code. I'm running over an apache server on my laptop, just to try what i'm doing.