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.
 

I need some help guys with IGB (coding)

Author
Ana Lin
Eve Isk-it
#1 - 2013-04-03 22:39:26 UTC
I literally tried myself and or followed a lot of tutorials out there and I can't seem to get it right.

I'm trying to get people to register on my website based off of headers with the IGB (something like other websites do, like somerblink i guess)

Does anybody know of any recent tutorials out there which are easy to follow and up-to-date?

Tonto Auri
Vhero' Multipurpose Corp
#2 - 2013-04-03 22:46:29 UTC
You may be on the bad side of the progress, unfortunately.
Late development of the HTTPD servers advanced into disallowing the underscore in HTTP headers.
Depends on the server scripting language you're using, you may be able to address raw HTTP headers, or use a workaround.

Two most common elements in the universe are hydrogen and stupidity. -- Harlan Ellison

Ana Lin
Eve Isk-it
#3 - 2013-04-03 22:52:38 UTC
Tonto Auri wrote:
You may be on the bad side of the progress, unfortunately.
Late development of the HTTPD servers advanced into disallowing the underscore in HTTP headers.
Depends on the server scripting language you're using, you may be able to address raw HTTP headers, or use a workaround.



that sorta sucks... ermmm
Kosmoto Gothwen
Frenemy Logicians
#4 - 2013-04-03 23:26:50 UTC
I put together some basic syntax examples awhile ago for igb headers. http://igb.frenemylogicians.com/code-samples/ccp-igb-headers/ . As I said, these are very basic to show the simplest possible usage. You can try a few and if they don't work on your site then it's what has already been mentioned about apache changing. Hopefully this helps you and/or others in the future.
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#5 - 2013-04-03 23:34:51 UTC
While apache has messed with some of the headers, you should still be able to pull them with:

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

$headers=apache_request_headers();
echo $headers['EVE_TRUSTED'];


/If/ that is Yes, you'll be able to also get EVE_CHARNAME, for example.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Somerset Mahm
Cognitive Distortion
#6 - 2013-04-04 04:35:40 UTC
You should also remember that those headers are not authenticated or verified in any way, so they should be used only to assist your customers, not to provide identity validation.

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Nnaem Kvorr
Fleet-Up.com
Keep It Simple Software Group
#7 - 2013-04-04 09:47:22 UTC
Somerset Mahm wrote:
You should also remember that those headers are not authenticated or verified in any way, so they should be used only to assist your customers, not to provide identity validation.


This.

It is trivially easy to spoof the EVE headers.

Using the EVE character name from the headers plus a password would be ok but relying on the EVE character name alone for authentication is a big security risk.

Fleet-Up.com - Your fleet operations, on steroids.

Ana Lin
Eve Isk-it
#8 - 2013-04-05 22:34:15 UTC
okay thanks guys