$ie = getenv("REMOTE_ADDR"); $file = fopen("yor2.odt","a"); fwrite($file,$ie." - ".gmdate ("Y-n-d")." @ ".gmdate ("H:i:s")."\n"); ?>