Protect $_SERVERS variable problem


I want get some unique value of server that running my PHP script.

Some unique values:

array (
  'HTTP_HOST' => '',
  'SERVER_SIGNATURE' => '<address>Apache/2 Server at Port 80</address> 
  'SERVER_SOFTWARE' => 'Apache/2',
  'SERVER_NAME' => '',
  'SERVER_ADDR' => '',
  'SERVER_PORT' => '80',
  'DOCUMENT_ROOT' => '/home/mysite/domains/',
  'SERVER_ADMIN' => '',

But, HACKED myself :frowning:

php_value auto_prepend_file prepend.php

$SERVER['{key}'] = '{value}';

Maybe we can find a way out :frowning:

The phpinfo() command is a very effective way to view that information.

If you’re wanting to back-channel information about someone else’s server that is running your code, then that’s a different story.

Thank you very much.