Questions tagged [header]

This tag is deprecated because it lacks discriminating power. Please use a more specific tag instead, e.g.: html-heading, email-header etc.

This tag is deprecated because it lacks discriminating power. Please use a more specific tag instead, e.g.: , etc.

13526 questions
4
votes
2 answers

Get PHP content-type from header()

I need to get the content-type of PHP for "security reasons". For example, if you used the function header("Content-type: text/html; charset=utf-8"), how, at a future time of execution, I can receive the content-type (text/html) and charset (utf-8)…
David Rodrigues
  • 12,041
  • 16
  • 62
  • 90
4
votes
1 answer

How to include the two different versions of the same header?

I am writing file conversion code from a proprietary file format to one more generic. My goal is to support multiple versions of the manufacturer's file format. I have a multiple versions of the same proprietary headers. The headers define various…
joe
  • 617
  • 7
  • 22
4
votes
2 answers

What's the maximum number of sections a PE can have?

I'm writing a program in C# where I read a PE's bytes. But in order to get the RVA I need to use the sections headers. I'd like to know what the maximum number of sections headers is? I tried Google and I've looked here but I haven't found anything…
Jevgeni Geurtsen
  • 3,133
  • 4
  • 17
  • 35
4
votes
3 answers

How to add Header and Footer in dynamic pdf using iTextLibrary?

I have created a PDF file dynamically using iText Library, Now I want to add Header and Footer in PDF's pages, for this one I have added given code: document.addHeader("My Header Title", "My Header Details"); But in my PDF's pages this header…
Hiren Patel
  • 52,124
  • 21
  • 173
  • 151
4
votes
1 answer

createRequestFactory with google-api-java-client-1.15.0-rc

I have to implement this method, but most of libs are deprecated. I need a new version compatible with client 1.15.0rc. public static HttpRequestFactory createRequestFactory( final HttpTransport transport) { return…
rickymarchiori
  • 103
  • 2
  • 13
4
votes
2 answers

Compiler Can't Find My Header?

Despite hash-including it, my project cannot seem to find its header file. I have included a screenshot because I think it's the most effective way to showcase my problem: ERROR MESSAGE 1>c:\users\wood\desktop\old programs\locker.cpp(2): fatal error…
Rome_Leader
  • 2,518
  • 9
  • 42
  • 73
4
votes
3 answers

IP header checksum: 0x0000

I have a JAX-RS web service which is secured via TLS. Hence encryption is very important I decided to check the network traffic with RawCap and analyze it with WireShark. Doing this, I stumbled over the following message: Header checksum: 0x0000…
My-Name-Is
  • 4,814
  • 10
  • 44
  • 84
4
votes
1 answer

IE accept headers changing, why?

I am trying to debug an issue on my server side and I believe it has to do with the accept headers that are being sent from the browser. Here is my question, why would Internet Explorer change "accept" headers from one page to another page? Can I…
Berlin Brown
  • 11,504
  • 37
  • 135
  • 203
4
votes
1 answer

Freemarker, PDF, Header/Footer and page-breaks

A common use of Freemarker is the generation of a PDF. Unfortunally I have to generate a pdf with a lot of pages and "they" asking me to put an header with some information and a footer with somethings like "page 2/60" etc... Searching on web I…
MrMime
  • 665
  • 4
  • 10
  • 24
4
votes
4 answers

PHP header redirection not working

I have done my research - and have found multiple solutions to this question, but for whatever reason mine is still not working! Using IIS to host the site locally redirection works fine, however when I place it on my web server the redirection…
user2388486
  • 41
  • 1
  • 1
  • 3
4
votes
6 answers

Is including C++ source files an approved method?

I have a large C++ file (SS.cpp) which I decided to split in smaller files so that I can navigate it without the need of aspirins. So I created SS_main.cpp SS_screen.cpp SS_disk.cpp SS_web.cpp SS_functions.cpp and cut-pasted all the functions from…
Wartin
  • 1,965
  • 5
  • 25
  • 40
4
votes
2 answers

How can i add a sticky header to my ListView?

I am having a listView, so i want to add a sticky header so that it sticks to the top of the listView and when a different category starts in the listView a Different header take its place, Like the contacts, where is "a" as a Sticky header is at…
Saad
  • 309
  • 2
  • 9
  • 21
4
votes
3 answers

How to make a floating menu appear after you scroll past a certain point?

I want to make four menu tabs appear after you scroll past a certain point (ex: 1000px) on the page. I want them to slide in from left to right when they appear. This is what I'm going for, but on the left side of the browser. Any input is…
JonnyBravo
  • 55
  • 1
  • 1
  • 6
4
votes
1 answer

Capture header Location with JSOUP or other HTML PARSER

When I'm picking up the response of a site with JSOUP, I can capture all headers except the LOCATION. With JSOUP or some other html parser there some way to capture the value of the response header "LOCATION"?
Benigno Sales
  • 193
  • 2
  • 6
4
votes
5 answers

What will happen if I don't include header files

What will happen if I don't include the header files when running a c program? I know that I get warnings, but the programs runs perfectly. I know that the header files contain function declarations. Therefore when I don't include them, how does the…
DesirePRG
  • 6,122
  • 15
  • 69
  • 114
1 2 3
99
100