hey fruitbeard, thanks for replying.... but im having 2 probs here that i cannot understand... the txt file is not written and the fla returns into Field2 the data that is on the php file when i press the button, and not the data that is on the txt file for default???!!!!!