I am currently developing an application in IGB (In-Game-Browser) for online MMO. For third-party development, the browser sends HTTP headers in game information such as "Locations", "Product Identifier", "Object Type Identifiers", etc.
This is a small script that I practice with. This script works on my local server and, like everyone else posted on this issue, it does not work on my web server. I came to the conclusion that this is due to the fact that Apache is not installed as a module. I spoke with my hosting provider. They said that they canβt tell me anything but to find an alternative to apache_request_headers. I have looked at all the previously posted editions of this topic on this site, and I cannot understand how it all fits together. How to use the examples here to achieve my final result. Like this [question]: Calling the undefined function apache_request_headers ()
My code is:
<?php $headers = apache_request_headers(); foreach ($headers as $header => $value) { echo "$header: $value <br />\n"; } ?>
My mistake:
Fatal error: Call to undefined function apache_request_headers() in /home/ncgotggb/public_html/ezalternatives.com/index.php on line 2
I studied when I travel this year, and he was self-taught and fast paced, so I'm still new to these concepts. At the moment, I have no choice, I am very interested and must finish it. When displaying your answer It would be very appreciated if you demonstrated your solution in full.
source share