I'm beginning to hate PHP even more. *sigh*