FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Get custom header from client
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Get custom header from client [message #179619] Wed, 14 November 2012 03:07 Go to next message
cph is currently offline  cph
Messages: 10
Registered: September 2012
Karma: 0
Junior Member
I have a PHP script that when accessed there is supposed to be a custom X header included with the HTTP call. How can I access it? I am running php-fpm with nginx on centos if that matters.
Re: Get custom header from client [message #179620 is a reply to message #179619] Wed, 14 November 2012 04:13 Go to previous message
cph is currently offline  cph
Messages: 10
Registered: September 2012
Karma: 0
Junior Member
On Tuesday, November 13, 2012 7:07:02 PM UTC-8, cph wrote:
> I have a PHP script that when accessed there is supposed to be a custom X header included with the HTTP call. How can I access it? I am running php-fpm with nginx on centos if that matters.

Finally found how to word my Google search before everything was how to send headers with PHP. I did find even custom headers are loaded into $_SERVER.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: file_get_contents doesn’t access one URL
Next Topic: New MVC framework for PHP 5.4 gives you full autocomplete support Eclipse and PDT IDEs
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 09:28:03 GMT 2024

Total time taken to generate the page: 0.01672 seconds