Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Header Modification through PHP


ghost's Avatar
0 0

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?


ghost's Avatar
0 0

MoshBat wrote: Go and read upon modifying Headers, then answer your own question.

I understand you can do something like this Moshbat…

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?