Php: Warning: Header may not contain more than a single header, new line detected in -


its unbeliveable. got, @ first file executed:

header ("pragma: public\r\nexpires: 0");die; 

and error? warning: header may not contain more single header, new line detected in ... wtf? var_dump()-ed included files, contain file only.

what unclear error?

you have new line here:

\r\n 

you trying set 2 headers. need 2 header() statements instead of 1 line break in string.

header("pragma: public"); header("expires: 0"); die(); 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -