Hướng dẫn header(content-type php) - tiêu đề (loại nội dung php)

MJT tại Jpeto Dot Net

13 năm trước

I strongly recommend, that you use

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");

instead of

header("HTTP/1.1 404 Not Found");

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header.

Most of the pages were displayed correct, but on some of them apache added weird content to it:

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser)

"0" at the bottom of the page (after the complete output of my php script)

It took me quite a while to find out about the wrong protocol in the HTTP-header.

Marcel G ¶

12 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 0

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 1

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 2

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 3

Dylan tại Wedefy Dot Com ¶

15 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 5

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 6

Mandor tại Mandor Dot Net

16 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 8

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 9

instead of 0

bobertjean tại yahoo dot fr ¶

13 năm trước

instead of 2

instead of 3

instead of 4

instead of 5

instead of 6

Marcel G ¶

12 năm trước

instead of 8

Dylan tại Wedefy Dot Com ¶

15 năm trước

instead of 9

Mandor tại Mandor Dot Net

header("HTTP/1.1 404 Not Found"); 0

header("HTTP/1.1 404 Not Found"); 1

header("HTTP/1.1 404 Not Found"); 2

header("HTTP/1.1 404 Not Found"); 3

header("HTTP/1.1 404 Not Found"); 4

header("HTTP/1.1 404 Not Found"); 5

16 năm trước

Mandor tại Mandor Dot Net

header("HTTP/1.1 404 Not Found"); 7

header("HTTP/1.1 404 Not Found"); 8

header("HTTP/1.1 404 Not Found"); 9

16 năm trước

bobertjean tại yahoo dot fr ¶

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 0

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 1

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 2

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 3

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 4

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 5

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 6

PHP tại Ober-Mail Dot de ¶

2 năm trước

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 8

I had big troubles with an Apache/2.0.59 (Unix) answering in HTTP/1.0 while I (accidentially) added a "HTTP/1.1 200 Ok" - Header. 9

Tim tại SharpWebDevelopment Dot Com ¶

15 năm trước

Most of the pages were displayed correct, but on some of them apache added weird content to it: 1

Most of the pages were displayed correct, but on some of them apache added weird content to it: 2

Most of the pages were displayed correct, but on some of them apache added weird content to it: 3

Mandor tại Mandor Dot Net

Most of the pages were displayed correct, but on some of them apache added weird content to it: 4

Most of the pages were displayed correct, but on some of them apache added weird content to it: 5

Most of the pages were displayed correct, but on some of them apache added weird content to it: 6

Most of the pages were displayed correct, but on some of them apache added weird content to it: 7

16 năm trước

Mandor tại Mandor Dot Net

Most of the pages were displayed correct, but on some of them apache added weird content to it: 8

Most of the pages were displayed correct, but on some of them apache added weird content to it: 9

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 0

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 1

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 2

16 năm trước

13 năm trước

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 4

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 5

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 6

bobertjean tại yahoo dot fr ¶

PHP tại Ober-Mail Dot de ¶

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 8

A 4-digits HexCode on top of the page (before any output of my php script), seems to be some kind of checksum, because it changes from page to page and browser to browser. (same code for same page and browser) 9

"0" at the bottom of the page (after the complete output of my php script) 0

"0" at the bottom of the page (after the complete output of my php script) 1

2 năm trước

2 năm trước

"0" at the bottom of the page (after the complete output of my php script) 3

"0" at the bottom of the page (after the complete output of my php script) 4

"0" at the bottom of the page (after the complete output of my php script) 5

Tim tại SharpWebDevelopment Dot Com ¶

Mandor tại Mandor Dot Net

"0" at the bottom of the page (after the complete output of my php script) 7

"0" at the bottom of the page (after the complete output of my php script) 8

16 năm trước

bobertjean tại yahoo dot fr ¶

It took me quite a while to find out about the wrong protocol in the HTTP-header.0

It took me quite a while to find out about the wrong protocol in the HTTP-header.1

PHP tại Ober-Mail Dot de ¶

12 năm trước

It took me quite a while to find out about the wrong protocol in the HTTP-header.3

It took me quite a while to find out about the wrong protocol in the HTTP-header.4

Dylan tại Wedefy Dot Com ¶

12 năm trước

It took me quite a while to find out about the wrong protocol in the HTTP-header.6

It took me quite a while to find out about the wrong protocol in the HTTP-header.7

It took me quite a while to find out about the wrong protocol in the HTTP-header.8

It took me quite a while to find out about the wrong protocol in the HTTP-header.9

0

1

Mandor tại Mandor Dot Net

13 năm trước

3

4

5

6

7

8

9

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 00

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 01

16 năm trước

13 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 02

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 03

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 04

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 05

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 06

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 07

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 08

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 09

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 10

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 11

bobertjean tại yahoo dot fr ¶

12 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 13

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 14

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 15

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 16

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 17

PHP tại Ober-Mail Dot de ¶

2 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 19

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 20

Tim tại SharpWebDevelopment Dot Com ¶

15 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 22

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 23

4 năm trước

bobertjean tại yahoo dot fr ¶

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 25

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 26

PHP tại Ober-Mail Dot de ¶

13 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 28

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 29

2 năm trước

Tim tại SharpWebDevelopment Dot Com ¶

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 31

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 32

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 33

4 năm trước

15 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 35

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 36

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 37

15 năm trước

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 39

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 40

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 41

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 42

Mandor tại Mandor Dot Net

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); 44