I am trying to use php authentication and I receive an Internal Server Error with code which works on a different server. Any ideas why this is?
I have narrowed it down so that I know that the following line causes the error:
header('HTTP/1.0 401 Unauthorized');
Thanks.
Adam.