I have an index.html page, in which I have a button that runs php code through Javascript, using XMLHttpRequest.
The php code just reads index.html and make computations, but it does not inject php code.
Since the code is not working, I am wondering if I have to rename my file index.html to index.php. Should I do it?