<?PHP function print_ip() { $CLIENT_ADDRESS=$_SERVER['REMOTE_ADDR']; $MESG="<IPADDRESS>$CLIENT_ADDRESS</IPADDRESS>"; echo $MESG; } print_ip(); ?>