use the REMOTE_ADDR CGI variable.