X-PHP-Response-Code Headers -


i saw header(x-php-response-code) here in answer , wondering.

  1. what function , there other x-php-* headers?
  2. if there function , usage (as info possible)?
  3. if 1 (in doubt) ignore 2.

in example given, header nothing, point.

http headers starting x- precisely not standardized, can set such header knowing doesn't mean specific. point in case cite use header function set response code. that, some header needs supplied. user chose use otherwise meaningless header x-php-response-code, able give some header header() in order use third argument set response code.

in other words: it's hack.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -