These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

IGB Headers help please =)

First post
Author
Leona Konstein
Science and Trade Institute
Caldari State
#1 - 2015-02-12 04:59:15 UTC
Hello guys, im trying to use the IGB headers to get my character location, but i get nothing, i have thrust, and i do now my label "characterLocation" is working.I'm using this scrip;


function myFunction(){

document.getElementById("characterLocation").innerHTML = $_SERVER['HTTP_EVE_SOLARSYSTEMNAME'];
}


I also canĀ“t get my character name. Hope someone can help and thank you P =*
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#2 - 2015-02-12 13:03:08 UTC
If you're using apache 2.4, or nginx, then you won't be able to get the headers that way. The _ in the name breaks them.

You may be able to use apache_request_headers()

http://php.net/manual/en/function.apache-request-headers.php

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Leona Konstein
Science and Trade Institute
Caldari State
#3 - 2015-02-12 18:48:21 UTC
yes it's 2.4. I'll try that way, thank you so much Big smile
Leona Konstein
Science and Trade Institute
Caldari State
#4 - 2015-02-12 21:22:13 UTC
already tryied and same, i do see the headers from my webhosting, but i dont see any header from EVE. I already have thrust, so i dont understand why, any suggestions??

I did a headers request, but non EVE headers are echoing.