Hi there guys, is there a way to use header() to make a forbidden page?
I´ve tryed this: Header("HTTP/1.0 401 Unauthorized"); but it didnt work.
Can someone help me? Tks for your attention. 🙂
Actually, I don't think it's possible. I wrote a page using authentication, and it should have given a 401, however, it didn't.
If you echo after you send the header, it will still echo what you want to.