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

How to secure my login data to my database?
Hi there,

It may be a stupid question but I don't know how to secure my login data to my data

Multiple includes losing variables
Hey all,

just starting out w php and ran into a problem pretty quickly. I'm
including seve

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

Can php detect connection speed and thereafter swap out elements?
No code to post, lads, yet. Just looking for a yay or nay at this stage:

Can a php script be

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

Filling gaps in dates
So i'm doing a query for sales data and my return array looks like this

('date' => '20

Pulling out some result data from MYSQL
Hey Guys,

I've built a PHP page that has a for just imagine something like registration form

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