Top "Header" questions

This tag is deprecated because it lacks discriminating power.

How to fix "Headers already sent" error in PHP

When running my script, I am getting several errors like this: Warning: Cannot modify header information - headers already sent …

php header
Returning JSON from a PHP Script

I want to return JSON from a PHP script. Do I just echo the result? Do I have to set …

php json header
In Node.js, how do I "include" functions from my other files?

Let's say I have a file called app.js. Pretty simple: var express = require('express'); var app = express.createServer(); app.…

javascript import header node.js
PHP header(Location: ...): Force URL change in address bar

I'm currently working on a mobile site with authentication using PHP sessions with a database. I have a login page …

php redirect header location
PHP page redirect

Can PHP make a redirect call after executing a function? I am creating a function on the completion of which …

php redirect header
How to use HTML to print header and footer on every printed page of a document?

Is it possible to print HTML pages with custom headers and footers on each printed page? I'd like to add …

css header printing stylesheet footer
Request header field Access-Control-Allow-Headers is not allowed by Access-Control-Allow-Headers

I'm trying to send files to my server with a post request, but when it sends it causes the error: …

javascript angularjs post header cors
What is the common header format of Python files?

I came across the following header format for Python source files in a document about Python coding guidelines: #!/usr/bin/…

python header comments
How to add header row to a pandas DataFrame

I am reading a csv file into pandas. This csv file constists of four columns and some rows, but does …

python csv pandas header
HTML5 best practices; section/header/aside/article elements

There is enough information about HTML5 on the web (and also on stackoverflow), but now I'm curious about the "best …

html header article