Hi.
Im having trouble sending headers from PHP. Im using a Apache server on my Windows machine for dev. The thing is my script works at my webhotel but not on my own server.
I guess its a configuration problem with Apache.
header('HTTP/1.0 401 Unauthorized');
This give a error 500. The Apache log says "malformed header from script. Bad header=HTTP/1.1 401 Unauthorized"
Anyone know whats wrong?