How to get all server headers like Live http Headers does


Posted on 16th Feb 2014 07:03 pm by admin

Hey all, like many of you I use the Firefox addon "Live http Headers". I'm trying to write a tool that will basically do the same thing, but web-based... so the user would enter a URL and the tool would spit out the same output that Live http Headers would have shown if you were capturing them using it.

Problem is, sometimes the output from Live http Headers contains many requests of different types, for different things, on different servers. The PHP code I've been able to find in the manual pertaining to headers really only returns one (the last one).

What function should I be looking at if I want it to spit out ALL of the headers and requests, a-la the Firefox addon?

No comments posted yet

Your Answer:

Login to answer
144 Like 14 Dislike
Previous forums Next forums
Other forums

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

insert/update functions for mysql, what do you think?
I am working on two really simple functions that automatically generate (and execute) insert and upd

array_count_values question?
ok i'm trying to create a top ten list from a database of listed favorite movies.

the followi

I would like "for" to wait 5 sec
I would like my 'for' loop to wait 5 sec before second iteration.


for ($i=0; $i<10

PHP/PKI
I am trying to set up a web application that uses pki. does anyone have a good tutorial to set this

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

problem with GROUP BY and ORDER BY
i usually use this query to display the last 10 entries from a sql table:

Code: $query = &quo

Change Sort Order to Display Newest File First
Hi Guys,

I have a page that sorts the contents (PDFs) of a directory and displays them on the

if else problem, help please
i have this script that i made only i try to also put in a if else for for some reason the script is

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash