Forum Moderators: coopster

Message Too Old, No Replies

fetching RAW Http headers

in non apache environment

         

kadnan

9:42 am on Jan 16, 2006 (gmt 0)

10+ Year Member



Hi

php`s getallheaders() works for apache only,however i want a solution for IIS,i want to fetch all raw http response headers for my application.

how can i do this on IIS and php4.3?

Thanks

kadnan

11:48 am on Jan 16, 2006 (gmt 0)

10+ Year Member



let me repharase my query

normally we prove file name in Action attribute of a form where data is posted,along with methods like POST,GET

now instead of traditional submit technique,i want to pass all form fields data into some other page plus URL of the page where the form should be actually submitted.

how could I do this by manipulating headers,attaching info so that the middle page just used for creating headers and action page return backs response to Referrer page.this is something being done on ajaxextendedDOTcom [sorry Mod,i am not spamming,this is not my website either but i dont know how else i explain my situation) where the guy posts data onto some page which works as middleman, something like that actually happening

normally:

Condition:1
formpage.php->Submits->Actionpage.php(via post/get)

in this situation
Condition:2
formpage.php->Redirects->middlepage.php(with all post and other headersinfo+Httpreferer, which is formpage.php here)->actionpage.php

so this indirect process behaves as if Condition 1 has been done.

any help please?