
Titus Balls
Minmatar Minmatar Ship Construction Services Ushra'Khan
|
Posted - 2009.12.11 22:05:00 -
[1]
I've not developed with the IGB before, but I'm looking to create a small app.
I have been trying to check for the headers, but even with trusting the website in the IGB I don't seem to be getting them.
As an example, here is a small testi script I wrote:
<?php
echo '<pre>'; var_dump($_SERVER);?>
<button type="button" onclick="CCPEVE.requestTrust('http://uk.ifies.org')">Request Trust</button>
From it, after trusting the URL, these are all the headers I get:
["SCRIPT_URL"]=> string(9) "/test.php" ["SCRIPT_URI"]=> string(28) "http://uk.ifies.org/test.php" ["HTTP_HOST"]=> string(12) "uk.ifies.org" ["HTTP_X_FORWARDED_FOR"]=> string(13) "78.86.108.213" ["HTTP_CONNECTION"]=> string(5) "close" ["HTTP_USER_AGENT"]=> string(124) "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0 EVE-IGB" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["HTTP_ACCEPT"]=> string(90) "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" ["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" ["HTTP_COOKIE"]=> string(69) "SESS972cd78baec2a10439e5aa42cd7d2b78=6008c6a68c70bb13894b9b678e91992c" ["HTTP_ACCEPT_LANGUAGE"]=> string(8) "en-us,en" ["HTTP_ACCEPT_CHARSET"]=> string(18) "iso-8859-1,*,utf-8" ["PATH"]=> string(216) "/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/home/ph/trunk/python-hosting.com/new_site/monitor:/home/ph/trunk/python-hosting.com/new_site/manual_scripts" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(12) "uk.ifies.org" ["SERVER_ADDR"]=> string(9) "127.0.0.1" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(13) "78.86.108.213" ["DOCUMENT_ROOT"]=> string(25) "/home/tanepiper/webapps/_" ["SERVER_ADMIN"]=> string(18) "[no address given]" ["SCRIPT_FILENAME"]=> string(49) "/home/tanepiper/webapps/eve_industry_app/test.php" ["REMOTE_PORT"]=> string(5) "54429" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.0" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(0) "" ["REQUEST_URI"]=> string(9) "/test.php" ["SCRIPT_NAME"]=> string(9) "/test.php" ["PHP_SELF"]=> string(9) "/test.php" ["REQUEST_TIME"]=> int(1260568573) ["argv"]=> array(0) { } ["argc"]=> int(0) }
Anyone any ideas why this might be failing?
|