I want to be able to write the address of the remote user <!--#echo var="remote_addr" --> to a text file on the server automatically when either the user clicks a button or when they visit a certain web page. I am frankly stumped. Does anyone know of a php script that will do this? Or any other way to do this. Any help is greatly appreciated.