NYCPHP Meetup

NYPHP.org

[nycphp-talk] $_SERVER

David Krings ramons at gmx.net
Sat May 26 20:23:27 EDT 2007


Hi!

Every web server generates a different $_SERVER array in PHP. I got 
burnt by it once. I used several keys/values that are present in the 
Luckasoft EnginServer, but not in Apache. I am sure that IIS again has a 
different $_SERVER and the whole picture may look different on Linux or 
Mac OS.

The question of the day is: Which keys/values are guaranteed to be 
present in $_SERVER on all/most of the modern servers?

David



More information about the talk mailing list