When did PHP communicate back to Apache HTTP header codes?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

When did PHP communicate back to Apache HTTP header codes?

Post by JAB Creations »

There was a time I think perhaps only several years ago that this...

Code: Select all

<?php
header("HTTP/1.0 403 Forbidden");
?>
...would not effect the HTTP code in Apache generated access logs. Since when was this fixed? At the time it always bugged me and I'm very grateful this has been fixed! :)
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: When did PHP communicate back to Apache HTTP header codes?

Post by josh »

I noticed that the other day, a regular header redirect logs a 3xx I think
Post Reply