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!
You could also use the $_SERVER array, which is where most of those variables are since PHP 4.1 (it's a register_globals thing) - $_SERVER['REMOTE_HOST'] and $_SERVER['REMOTE_ADDR'].