Page 1 of 1

Forbidden header

Posted: Sat Aug 05, 2006 4:32 pm
by shiznatix
Ok this is a really stupid question but...

Whats the header for a 'this directory can't be browsed' error?

Posted: Sat Aug 05, 2006 4:36 pm
by feyd
there is no such header.

Posted: Sat Aug 05, 2006 4:44 pm
by Weirdan
perhaps you mean:

Code: Select all

header("HTTP/1.1 403 Forbidden");

Posted: Sat Aug 05, 2006 4:44 pm
by Weirdan
there is no such header.
Yeah, but there's http status code for that