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.
 

Need help please with php script for IGB headers data

First post First post
Author
princess abbie
Pator Tech School
Minmatar Republic
#1 - 2015-03-13 05:04:46 UTC  |  Edited by: princess abbie
[insert_php]
$_SERVER['HTTP_EVE_CHARNAME'];

$_SERVER['HTTP_EVE_CHARID'];
[/insert_php]


(insert_php tags are instead of php ones so that it works on my wordpress website with the plugins.

its returning nothing

i have checked to make sure the plugin is working with another php script for date and time and that worked fine but this is just doing nothing

i also want to know how i can auto populate 2 form text boxs with this data
Rain6637
GoonWaffe
Goonswarm Federation
#2 - 2015-03-13 06:49:55 UTC
Serene Repose
#3 - 2015-03-13 08:39:27 UTC  |  Edited by: Serene Repose
Posting to yet another thread in the wrong section...if there is a section on the forum for this sort of thing. Is there?

EDIT: What gives me the idea you're a prince, not a princess?

We must accommodate the idiocracy.

ISD Ezwal
ISD Community Communications Liaisons
ISD Alliance
#4 - 2015-03-13 09:23:17 UTC
This thread has been moved to EVE Technology Lab.

ISD Ezwal Community Communication Liaisons (CCLs)

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#5 - 2015-03-13 12:54:36 UTC
you're /probably/ running into a problem, because you're using apache 2.4 or NGINX

They strip out headers with underscores.

If you're on apache, try using apache_request_headers() http://php.net/manual/en/function.apache-request-headers.php

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

princess abbie
Pator Tech School
Minmatar Republic
#6 - 2015-03-13 14:12:12 UTC  |  Edited by: princess abbie
Serene Repose wrote:
Posting to yet another thread in the wrong section...if there is a section on the forum for this sort of thing. Is there?

EDIT: What gives me the idea you're a prince, not a princess?


didnt know where to put it.... if ther was an api forum id post there
princess abbie
Pator Tech School
Minmatar Republic
#7 - 2015-03-13 14:14:01 UTC
Steve Ronuken wrote:
you're /probably/ running into a problem, because you're using apache 2.4 or NGINX

They strip out headers with underscores.

If you're on apache, try using apache_request_headers() http://php.net/manual/en/function.apache-request-headers.php


i looked at trying the other options and couldnt get it to work with any method listed
https://wiki.eveonline.com/en/wiki/IGB_Headers?_ga=1.176772839.391907558.1416750601#Implementation_Tips
princess abbie
Pator Tech School
Minmatar Republic
#8 - 2015-03-13 14:19:48 UTC
ccpeve join channel button is on the website which works with trust only and that works

but weirdly if i manually trust the site in settings the button works

if the trust this site window comes up from a button press or the auto trust script it doesnt allow the button to work which is very strange to me

another issue im having....

but the script deffo has trust but still reveals no info