Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » echoing header information into main page
Closed Thread
Old 05-08-2006, 10:18 AM   #1 (permalink)
 
Newb Techie

Join Date: Aug 2005

Posts: 20

hargi22

Default echoing header information into main page

Is there a way of passing the header information into the main body of a web page, i remember seeing it somewhere that it could be done in ASP, but php would be better.
hargi22 is offline  
Old 05-08-2006, 10:44 AM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,425

office politics will become famous soon enough

Default

you want the headers sent to the server or the headers sent back to the client?

headers_list - to server
headers_sent - from server

http://www.php.net/manual/en/function.headers-list.php

PHP Code:
/* What headers are going to be sent? */
var_dump(headers_list()); 

office politics is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On