Question: why post is not working in php?
Answer: Make sure that the "action" attribute on your form leads to the correct destination. Try using $_REQUEST[] instead of $_POST, see if there is any change. [Optional] Try including both a 'name' and an 'id' attribute e.g. If you are in a Linux environment, check that you have both Read/Write permissions to the file.