note 102506 added to function.apache-response-headers
| From: | php at mailplus dot pl | Date: | Fri, 18 Feb 2011 09:11:56 +0000 |
| Subject: | note 102506 added to function.apache-response-headers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177098@lists.php.net to get a copy of this message | ||
I get "Call to undefined function apache_response_headers()" when using php-cli so be
aware of lack of this function CLI.
In my case I was trying to test my app via phpunit (command line tool of course ;)) if it sends
proper headers.
----
Server IP: 195.114.0.19
Probable Submitter: 62.69.206.19
----
Manual Page -- http://www.php.net/manual/en/function.apache-response-headers.php
Edit -- https://master.php.net/note/edit/102506
Del: integrated -- https://master.php.net/note/delete/102506/integrated
Del: useless -- https://master.php.net/note/delete/102506/useless
Del: bad code -- https://master.php.net/note/delete/102506/bad+code
Del: spam -- https://master.php.net/note/delete/102506/spam
Del: non-english -- https://master.php.net/note/delete/102506/non-english
Del: in docs -- https://master.php.net/note/delete/102506/in+docs
Del: other reasons-- https://master.php.net/note/delete/102506
Reject -- https://master.php.net/note/reject/102506
Search -- https://master.php.net/manage/user-notes.php