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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Get custom header from client [message #179619] Tue, 13 November 2012 22:07 Go to next message
cph is currently offline  cph
Messages: 10
Registered: September 2012
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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] Tue, 13 November 2012 23:13 Go to previous message
cph is currently offline  cph
Messages: 10
Registered: September 2012
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Tue Oct 17 23:59:54 EDT 2017

Total time taken to generate the page: 0.00882 seconds