I have recently moved my wordpress in to a Members only area. The restricted access requires a piece of PHP script to be put in the head of the pages, only it breaks my WP leaving me with a white screen. It has to be placed above/outside the head tags (first thing on the page) I've tried placing it in my themes header and index and also the wp-header but it just gives me the blank page.
Can anyone tell me how to stop it breaking my WP and still protect my WP? After much head scratching it has me stumped!
Thanks in advance.