Can I override/null out an HTTP response header field with a php script so that the field is not set? -



Can I override/null out an HTTP response header field with a php script so that the field is not set? -

if server automatically sending expires http header response default, can override/null out php script expires header field not set?

yes can. cancel set expires header beingness sent:

header('expires:');

it work if no headers have been sent already, before echo , php starts sending info browser. might have utilize output buffering that.

and when upgrade php 5.3.* utilize header_remove('expires');.

php http-headers

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -