Join us at IRC!
Don't judge the unknown - Grindordie
Thursday, May 24, 2012
Navigation
Members Online
Total Online: 20
Web Spiders: 10
Guests Online: 20
Members Online: 0

Registered Members: 70188
Newest Member: nuk3d
Latest Articles
View Thread

HellBound Hackers | HellBound Hackers | Questions

Author

Header Modification through PHP

Froger
Member

Posts: 76
Location:
Joined: 21.09.08
Rank:
Wiseman
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

Froger
Member

Posts: 76
Location:
Joined: 21.09.08
Rank:
Wiseman
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...


// 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....



header("SUBNO: 29391010001010996")


Would php make one of my headers SUBNO?
Author

RE: Header Modification through PHP

Froger
Member

Posts: 76
Location:
Joined: 21.09.08
Rank:
Wiseman
Posted on 10-09-09 19:57
MoshBat wrote:
http://us3.php.net/manual/en/function.httprequest-setheaders.php
http://uk3.php.net/manual/en/function.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.
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.