PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
actually to be correct, $_SERVER is an associcative array and you should not type the key-strings without quotes in such, as that can/should be intepreted as a defined constant, PHP is pretty good at guessing that you where just lazy, but it is a bad programming practice not to do it correctly to avoid unexpected functionality in the future..
$_SERVER['REMOTE_ADDR']
Sometimes I whish PHP had some configure options that would disable all such "convenience" functionality and make it much more strict, it would likely increase speed and decrease possibilities for bugs..