Follow us on Twitter!
Society leans ever heavily on computers, if you have the power to take out computers you can take out society. - cubeman372
Wednesday, February 10, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 31
Guests Online: 29
TeamSpeak Online : 5 Members Online: 2

Registered Members: 92294
Newest Member: Geeeela
Latest Articles
View Thread

HellBound Hackers | HellBound Hackers | Questions

Author

Header Modification through PHP


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 09-09-09 04:21
Is there a way you can modify your header with PHP like you can using firefox extension "Modify Headers"? If so how would you go about doing this so that its for the entire site you want to view and not just one page? Like lets say I wanted to add a header named HTTP_TOMANDJERRY through php would that be possible? Or is the firefox extension the only possible way?
Author

RE: Header Modification through PHP


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-09-09 11:27
MoshBat wrote:
Go and read upon modifying Headers, then answer your own question.


I understand you can do something like this Moshbat...


Code
// set content type:
header('Content-Type: text/html; charset=iso-8859-1');
header('Content-Type: text/html; charset=utf-8');
header('Content-Type: text/plain'); // plain text file
header('Content-Type: image/jpeg'); // JPG picture
header('Content-Type: application/zip'); // ZIP file
header('Content-Type: application/pdf'); // PDF file
header('Content-Type: audio/mpeg'); // Audio MPEG (MP3,...) file
header('Content-Type: application/x-shockwave-flash'); // Flash animation





but lets say I wanted a header like this....


Code

header("SUBNO: 29391010001010996")




Would php make one of my headers SUBNO?
Author

RE: Header Modification through PHP


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-09-09 19:57
MoshBat wrote:
http://us3.php.ne. . .eaders.php
http://uk3.php.ne. . .header.php
Some reading materials for you there.
And tell me you're wanting to set specific headers on your own site/project, and not somewhere else... (Here, for example)


Thank you Moshbat.