Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Saturday, April 19, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 29
Guests Online: 25
Members Online: 4

Registered Members: 82839
Newest Member: fezphantom
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.