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?

144 Like 14 Dislike
Previous php-forum Next php-forum
Other php-forum

xml
<?php

echo "<h1>XML Articles</h1>";

$home

retrieving images from mysql database using php
So I've been trying to figure out how to store images in a mysql database, and as far as i can tell

Auto fill in input value based on User_ID
Hello,

I'm looking form some input on the following problem.

User loads page ->

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

Weird Problem with curl while sending data
I am facing a weird problem with sending data to a site via curl.

If i send the value by this

help retrieiving results and doing pagination
Having some trouble trying to get the results to show on more than just one page.

What is ha

Format timestamp from mysql
When I tried this:
Code: date("m/d/Y H:i A", $row['timestamp'])
I got 12/31/1969 18:

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

query based on 2 conditions
I want to select if the doc_type is either s OR f but this doesn't work:

Code: [Select]$query

CHECK A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

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