HTTP response header function

From: Date: Thu, 24 Jan 2002 19:23:31 +0000
Subject: HTTP response header function
Groups: php.dev 
Request: Send a blank email to php-dev+get-78027@lists.php.net to get a copy of this message
Hello guys,

I sent this following message before to rasmus@lerdorf.on.ca,
ssb@guardian.no and to sklar@student.net.

But after I sent I thought that perhaps the right place to send this
kind of thing is this list. So here it is!

	Cheers

----- Forwarded by Alexandre NOVELLO/MODAL on 24/01/02 17:07 -----
                                                                                                    
                                  
                     
Alexandre                                                                                           
            
                      NOVELLO                  To:     
rasmus@lerdorf.on.ca, ssb@guardian.no,
sklar@student.net                       
                                              
cc:                                                                                     
                      24/01/02 17:01           Subject: HTTP response
header function                                                  
                                                                                                    
                                  
                                                                                                    
                                  



Greetings from Brazil,

I was having a problem to get the HTTP Response Headers through PHP
functions.

That's why the getallheaders() function just retrieves the request
headers.

Why don't you create a function called getallresponseheaders()?

I modified the apache_php.c and attached here to add this function.

I know that this is a very simple modification, but the creation of this
functions is very useful for who use products like Netegrity Site Minder
(
http://www.netegrity.com/products/index.cfm?leveltwo=SiteMinder)
that
uses
header variables to send its customized values.

PS: It works under Apache, but the production server where I am going to
put the application uses Netscape, do you suggest me anyway to get these
HTTP Response Headers

Sorry to steal your time, when you come to Brazil look for me then I
will
give your reward in "caipirinhas"


Attachment: [application/octet-stream] php apache.c

Thread (1 message)

  • Alexandre Ferreira Novello
« previous php.dev (#78027) next »